Commit be6d8ffd authored by UVA Multi-touch's avatar UVA Multi-touch

Fixed flick gesture.

parent 3752d526
......@@ -185,7 +185,7 @@ class TransformationTracker(GestureTracker):
prev = self.update_centroid()
if not self.points:
self.trigger(FlickGesture(event, point, point - prev))
self.trigger(FlickGesture(event, point, point - prev.prev))
if not self.propagate_events:
event.stop_propagation()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment