mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 12:29:35 +01:00
Fix double tap & drag on Android
(cherry picked from commit 0c94750642978df5b5a100692c7b8be8522fd668)
This commit is contained in:
parent
ec37f9c811
commit
eea5d96503
@ -199,6 +199,8 @@ internal class PandemoniumGestureHandler : SimpleOnGestureListener(), OnScaleGes
|
|||||||
if (event.actionMasked == MotionEvent.ACTION_UP) {
|
if (event.actionMasked == MotionEvent.ACTION_UP) {
|
||||||
nextDownIsDoubleTap = false
|
nextDownIsDoubleTap = false
|
||||||
PandemoniumInputHandler.handleMotionEvent(event)
|
PandemoniumInputHandler.handleMotionEvent(event)
|
||||||
|
} else if (event.actionMasked == MotionEvent.ACTION_MOVE && panningAndScalingEnabled == false) {
|
||||||
|
PandemoniumInputHandler.handleMotionEvent(event)
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user