Skip to content

Commit

Permalink
Fix double tap & drag on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarShehata committed May 9, 2023
1 parent 64eeb04 commit 0c94750
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 0c94750

Please sign in to comment.