[PATCH] fix #1902

Gonzalo Odiard (none) gonzalo at aronax.
Mon May 17 21:47:47 EDT 2010


---
 Area.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Area.py b/Area.py
index 1e5248d..613e66e 100644
--- a/Area.py
+++ b/Area.py
@@ -350,7 +350,7 @@ class Area(gtk.DrawingArea):
                         
         if state & gtk.gdk.BUTTON1_MASK and self.pixmap != None:
             if self.tool['name'] == 'pencil':
-                self.d.brush(widget, coords, self.last, 2, 'circle')
+                self.d.brush(widget, coords, self.last, self.line_size, 'circle')
                 self.last = coords
             elif self.tool['name'] == 'eraser':
                 self.d.eraser(widget, coords, self.last, self.line_size, self.tool['line shape'])
-- 
1.7.1

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list