Minor syntax fix

This commit is contained in:
Pavel fljot 2013-06-13 09:33:49 +04:00
parent 33dbef12bc
commit 46919cf710

View file

@ -424,7 +424,7 @@ package org.gestouch.gestures
*/ */
protected function ignoreTouch(touch:Touch):void protected function ignoreTouch(touch:Touch):void
{ {
if (_touchesMap.hasOwnProperty(touch.id)) if (touch.id in _touchesMap)
{ {
delete _touchesMap[touch.id]; delete _touchesMap[touch.id];
_touchesCount--; _touchesCount--;