Merge pull request #76791 from OmarShehata/fix-android-double-tap

Fix double tap & drag on Android
This commit is contained in:
Rémi Verschelde 2023-05-09 10:45:59 +02:00
commit d550fdd7a4
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
}