Minor cleanup in LongPressGesture

This commit is contained in:
Pavel fljot 2012-07-13 18:27:20 +03:00
parent c5f91e6de1
commit 4bdefd12bb

View file

@ -14,8 +14,8 @@ package org.gestouch.gestures
*/
[Event(name="gestureLongPress", type="org.gestouch.events.LongPressGestureEvent")]
/**
* TODO: -location
* - check on iOS (Obj-C) what happens when numTouchesRequired=2, two finger down, then quickly release one.
* TODO:
* - add numTapsRequired
*
* @author Pavel fljot
*/
@ -118,7 +118,6 @@ package org.gestouch.gestures
override protected function onTouchEnd(touch:Touch):void
{
//TODO: check proper condition (behavior) on iOS native
if (_numTouchesRequiredReached)
{
if (state == GestureState.BEGAN || state == GestureState.CHANGED)