From eea5d965039360ac5acb7c4370d17a6146a9c94d Mon Sep 17 00:00:00 2001 From: Omar Shehata Date: Sat, 6 May 2023 16:35:19 -0400 Subject: [PATCH] Fix double tap & drag on Android (cherry picked from commit 0c94750642978df5b5a100692c7b8be8522fd668) --- .../pandemonium/input/PandemoniumGestureHandler.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/android/java/lib/src/org/pandemoniumengine/pandemonium/input/PandemoniumGestureHandler.kt b/platform/android/java/lib/src/org/pandemoniumengine/pandemonium/input/PandemoniumGestureHandler.kt index 0953561a7..e5e182f2c 100644 --- a/platform/android/java/lib/src/org/pandemoniumengine/pandemonium/input/PandemoniumGestureHandler.kt +++ b/platform/android/java/lib/src/org/pandemoniumengine/pandemonium/input/PandemoniumGestureHandler.kt @@ -199,6 +199,8 @@ internal class PandemoniumGestureHandler : SimpleOnGestureListener(), OnScaleGes if (event.actionMasked == MotionEvent.ACTION_UP) { nextDownIsDoubleTap = false PandemoniumInputHandler.handleMotionEvent(event) + } else if (event.actionMasked == MotionEvent.ACTION_MOVE && panningAndScalingEnabled == false) { + PandemoniumInputHandler.handleMotionEvent(event) } return true