Skip to content

Commit

Permalink
Merge pull request #76791 from OmarShehata/fix-android-double-tap
Browse files Browse the repository at this point in the history
Fix double tap & drag on Android
  • Loading branch information
akien-mga committed May 9, 2023
2 parents 1a987eb + 0c94750 commit d550fdd
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 d550fdd

Please sign in to comment.