mirror of
https://github.com/scratchfoundation/Gestouch.git
synced 2024-11-27 01:35:40 -05:00
Fixed location for TapGesture
This commit is contained in:
parent
e15c7e7318
commit
696b6367f2
1 changed files with 1 additions and 1 deletions
|
@ -106,6 +106,7 @@ package org.gestouch.gestures
|
|||
if (touchesCount == numTouchesRequired)
|
||||
{
|
||||
_numTouchesRequiredReached = true;
|
||||
updateLocation();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -136,7 +137,6 @@ package org.gestouch.gestures
|
|||
|
||||
if (_tapCounter == numTapsRequired)
|
||||
{
|
||||
updateLocation();
|
||||
if (setState(GestureState.RECOGNIZED) && hasEventListener(TapGestureEvent.GESTURE_TAP))
|
||||
{
|
||||
dispatchEvent(new TapGestureEvent(TapGestureEvent.GESTURE_TAP, false, false, GestureState.RECOGNIZED,
|
||||
|
|
Loading…
Reference in a new issue