mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix double tap & drag on Android
(cherry picked from commit 0c94750642)
This commit is contained in:
parent
07af84689f
commit
bab96e71d2
1 changed files with 3 additions and 0 deletions
|
|
@ -197,7 +197,10 @@ internal class GodotGestureHandler : SimpleOnGestureListener(), OnScaleGestureLi
|
||||||
if (event.actionMasked == MotionEvent.ACTION_UP) {
|
if (event.actionMasked == MotionEvent.ACTION_UP) {
|
||||||
nextDownIsDoubleTap = false
|
nextDownIsDoubleTap = false
|
||||||
GodotInputHandler.handleMotionEvent(event)
|
GodotInputHandler.handleMotionEvent(event)
|
||||||
|
} else if (event.actionMasked == MotionEvent.ACTION_MOVE && panningAndScalingEnabled == false) {
|
||||||
|
GodotInputHandler.handleMotionEvent(event)
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue