mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-09 16:24:19 +00:00
Fix double tap & drag on Android
(cherry picked from commit 0c94750642978df5b5a100692c7b8be8522fd668)
This commit is contained in:
@@ -197,7 +197,10 @@ internal class GodotGestureHandler : SimpleOnGestureListener(), OnScaleGestureLi
|
||||
if (event.actionMasked == MotionEvent.ACTION_UP) {
|
||||
nextDownIsDoubleTap = false
|
||||
GodotInputHandler.handleMotionEvent(event)
|
||||
} else if (event.actionMasked == MotionEvent.ACTION_MOVE && panningAndScalingEnabled == false) {
|
||||
GodotInputHandler.handleMotionEvent(event)
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user