mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Merge pull request #969 from NativeScript/feature/inatant-tap-event
Fire tap event on tap up without waiting
This commit is contained in:
@ -186,7 +186,7 @@ class TapAndDoubleTapGestureListener extends android.view.GestureDetector.Simple
|
||||
return global.__native(this);
|
||||
}
|
||||
|
||||
public onSingleTapConfirmed(motionEvent: android.view.MotionEvent): boolean {
|
||||
public onSingleTapUp(motionEvent: android.view.MotionEvent): boolean {
|
||||
if (this._type & definition.GestureTypes.tap) {
|
||||
var args = _getArgs(definition.GestureTypes.tap, this._target, motionEvent);
|
||||
_executeCallback(this._observer, args);
|
||||
|
Reference in New Issue
Block a user