1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00

[iOS] Fix multitouch not working correctly

(cherry picked from commit 15ef056997)
This commit is contained in:
Sergey Minakov
2022-02-26 23:18:28 +03:00
committed by Rémi Verschelde
parent 22f50490c2
commit 0cb1d17d22

View File

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