From 46919cf710f0e04abb3a2557c17c603c5dd91905 Mon Sep 17 00:00:00 2001 From: Pavel fljot Date: Thu, 13 Jun 2013 09:33:49 +0400 Subject: [PATCH] Minor syntax fix --- 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 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--;