diff --git a/src/org/gestouch/gestures/Gesture.as b/src/org/gestouch/gestures/Gesture.as index a0e69a5..9a614ac 100644 --- a/src/org/gestouch/gestures/Gesture.as +++ b/src/org/gestouch/gestures/Gesture.as @@ -424,7 +424,7 @@ package org.gestouch.gestures */ protected function ignoreTouch(touch:Touch):void { - if (_touchesMap.hasOwnProperty(touch.id)) + if (touch.id in _touchesMap) { delete _touchesMap[touch.id]; _touchesCount--;