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

Removed gesture propagation from widget.

parent 7d79785b
......@@ -208,12 +208,7 @@ class Widget(Positionable, Logger):
def handle_gesture(self, gesture):
"""
Handle a gesture that is triggered by a gesture tracker. First, all
handlers bound to the gesture type are called. Second, if the gesture's
propagation has not been stopped by a handler, the gesture is
propagated to the parent widget.
handlers bound to the gesture type are called.
"""
for handler in self.handlers.get(gesture.get_type(), ()):
handler(gesture)
#if self.parent and not gesture.is_propagation_stopped():
# self.parent.handle_gesture(gesture)
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