Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-01-03 20:36:04 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-01-09 11:53:40 (GMT)
commitbdb8d13031efe405bc87705ccc49b6f8963d9c90 (patch)
treee64b4cacf40de0e79ef4385ce77bd5cd96dbda99
parent22503b1403494b973a696e9f2cbf7bc744793ce8 (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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Area.py b/Area.py
index 6236bb0..5661def 100644
--- a/Area.py
+++ b/Area.py
@@ -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):