diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-01-03 20:36:04 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-01-09 11:53:40 (GMT) |
commit | bdb8d13031efe405bc87705ccc49b6f8963d9c90 (patch) | |
tree | e64b4cacf40de0e79ef4385ce77bd5cd96dbda99 | |
parent | 22503b1403494b973a696e9f2cbf7bc744793ce8 (diff) |
Less time in the mousemove timeout - OLPC #12405
To process more positions and draw better curves.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | Area.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -569,7 +569,7 @@ class Area(Gtk.DrawingArea): shift_pressed = event.get_state() & Gdk.ModifierType.SHIFT_MASK button1_pressed = event.get_state() & Gdk.ModifierType.BUTTON1_MASK if self._update_timer is None: - self._update_timer = GObject.timeout_add(20, + self._update_timer = GObject.timeout_add(5, self.tool_move,x, y, button1_pressed, shift_pressed) def tool_move(self, x, y, button1_pressed, shift_pressed): |