Fix double tap & drag on Android

(cherry picked from commit 0c94750642)
This commit is contained in:
Omar Shehata 2023-05-06 16:35:19 -04:00 committed by Rémi Verschelde
parent 93913e8d5c
commit 42d2187f38
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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
}