diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2010-05-18 01:47:47 (GMT) |
---|---|---|
committer | Gonzalo Odiard <gonzalo@nautilus.localdomain> | 2010-06-09 15:57:27 (GMT) |
commit | b4996da5eff9ee62d27671da6134fbee80d93b72 (patch) | |
tree | e714c82b9e8537e0ea557b12802ce913dd18320c | |
parent | bd1523a1f700e7e509a5a26c768ff056cf54a87d (diff) |
fix #1902 - Under tools tab, pencil size funcionality is not working
Use selected pencil size when drawing lines with pencil.
Tested-by: James Cameron <quozl@laptop.org>
Signed-off-by: James Cameron <quozl@laptop.org>
-rw-r--r-- | Area.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']) |