mirror of https://github.com/godotengine/godot
[iOS] Fix multitouch not working correctly
This commit is contained in:
parent
0393057e36
commit
15ef056997
|
|
@ -154,6 +154,8 @@ static const float earth_gravity = 9.80665;
|
||||||
|
|
||||||
[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];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue