mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
tslint
This commit is contained in:
@ -396,16 +396,16 @@ function _getLongPressArgs(type: GestureTypes, view: View, state: GestureStateTy
|
||||
}
|
||||
|
||||
function _getDoubleTapArgs(view: View, e: android.view.MotionEvent): DoubleTapGestureEventData {
|
||||
return <DoubleTapGestureEventData>{
|
||||
type: GestureTypes.doubleTap,
|
||||
view: view,
|
||||
android: e,
|
||||
locationX: e.getX() / layout.getDisplayDensity(),
|
||||
locationY: e.getY() / layout.getDisplayDensity(),
|
||||
ios: undefined,
|
||||
object: view,
|
||||
eventName: toString(GestureTypes.doubleTap),
|
||||
};
|
||||
return <DoubleTapGestureEventData>{
|
||||
type: GestureTypes.doubleTap,
|
||||
view: view,
|
||||
android: e,
|
||||
locationX: e.getX() / layout.getDisplayDensity(),
|
||||
locationY: e.getY() / layout.getDisplayDensity(),
|
||||
ios: undefined,
|
||||
object: view,
|
||||
eventName: toString(GestureTypes.doubleTap),
|
||||
};
|
||||
}
|
||||
|
||||
function _getSwipeArgs(direction: SwipeDirection, view: View,
|
||||
|
Reference in New Issue
Block a user