Browse Source

Fix simulatenous touches for different touch types

(cherry picked from commit a6f06d57dc9e7f5f0bf1dc4a5e25e68ca9acba25)
Paulo Feodrippe 3 years ago
parent
commit
38c23419d9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/iphone/godot_view_gesture_recognizer.mm

+ 1 - 0
platform/iphone/godot_view_gesture_recognizer.mm

@@ -57,6 +57,7 @@ const CGFloat kGLGestureMovementDistance = 0.5;
 	self.cancelsTouchesInView = YES;
 	self.delaysTouchesBegan = YES;
 	self.delaysTouchesEnded = YES;
+	self.requiresExclusiveTouchType = NO;
 
 	self.delayTimeInterval = GLOBAL_GET("input_devices/pointing/ios/touch_delay");