From d3ddb825b5dc6fca959c4a1273223e70347b6e7e Mon Sep 17 00:00:00 2001 From: Pavel fljot Date: Tue, 25 Oct 2011 15:19:05 +0300 Subject: [PATCH] Fix condition for dispatching GestureTrackingEvent.GESTURE_TRACKING_END --- src/org/gestouch/gestures/Gesture.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/gestouch/gestures/Gesture.as b/src/org/gestouch/gestures/Gesture.as index 469bb8e..841568c 100644 --- a/src/org/gestouch/gestures/Gesture.as +++ b/src/org/gestouch/gestures/Gesture.as @@ -494,7 +494,7 @@ _propertyNames.push("timeThreshold", "moveThreshold"); _adjustCentralPoint(); - if (_trackingPointsCount == minTouchPointsCount + 1) + if (_trackingPointsCount == minTouchPointsCount - 1) { if (hasEventListener(GestureTrackingEvent.GESTURE_TRACKING_END)) {