>From 86d4934c0cab8c00482cb9644fd92bcdee660de8 Mon Sep 17 00:00:00 2001<br>From: Gonzalo Odiard <<a href="mailto:godiard@gmail.com">godiard@gmail.com</a>><br>Date: Wed, 2 Jun 2010 20:11:29 -0300<br>Subject: [PATCH] avoid line size < 1<br>
<br>---<br> Area.py | 2 ++<br> 1 files changed, 2 insertions(+), 0 deletions(-)<br><br>diff --git a/Area.py b/Area.py<br>index c83f38f..286cc1b 100644<br>--- a/Area.py<br>+++ b/Area.py<br>@@ -1177,6 +1177,8 @@ class Area(gtk.DrawingArea):<br>
def change_line_size(self, delta):<br> if self.tool['name'] in ['pencil','eraser','brush','rainbow']:<br> size = self.tool['line size'] + delta<br>+ if size < 1:<br>
+ size = 1<br> self.tool['line size'] = size<br> self.configure_line(size)<br> self.queue_draw()<br>-- <br>1.6.6.1<br><br clear="all"><br>-- <br>Gonzalo Odiard<br>
Responsable de Desarrollo<br>Sistemas Australes<br><br>