Преглед на файлове

[iOS] Fix multitouch not working correctly

(cherry picked from commit 15ef056997190b288d0951ba5cc6414ce3f780a6)
Sergey Minakov преди 3 години
родител
ревизия
0cb1d17d22
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      platform/iphone/godot_view.mm

+ 2 - 0
platform/iphone/godot_view.mm

@@ -145,6 +145,8 @@ static const int max_touches = 8;
 
 	[self initTouches];
 
+	self.multipleTouchEnabled = YES;
+
 	// Configure and start accelerometer
 	if (!self.motionManager) {
 		self.motionManager = [[CMMotionManager alloc] init];