Commit 6c0635ca authored by Ian Hickson's avatar Ian Hickson

Merge pull request #1782 from Hixie/gesture-fixes

trivial cleanup in gesture code
parents 6684b165 665e6657
...@@ -133,8 +133,4 @@ class ScaleGestureRecognizer extends GestureRecognizer { ...@@ -133,8 +133,4 @@ class ScaleGestureRecognizer extends GestureRecognizer {
} }
_state = ScaleState.ready; _state = ScaleState.ready;
} }
void dispose() {
super.dispose();
}
} }
...@@ -77,7 +77,7 @@ class TapGesture extends TapTracker { ...@@ -77,7 +77,7 @@ class TapGesture extends TapTracker {
entry = GestureArena.instance.add(event.pointer, gestureRecognizer); entry = GestureArena.instance.add(event.pointer, gestureRecognizer);
_wonArena = false; _wonArena = false;
_didTap = false; _didTap = false;
startTimer(() => cancel()); startTimer(cancel);
startTrackingPointer(gestureRecognizer.router, handleEvent); startTrackingPointer(gestureRecognizer.router, handleEvent);
} }
......
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