mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-14 07:48:58 +00:00
IOS7: Call correct delegate method
The wrong delegate method was called for touchesCancelled. This led to button presses ended too early if moving the fingers.
This commit is contained in:
parent
6d325f26c6
commit
fac7008914
@ -981,7 +981,7 @@ uint getSizeNextPOT(uint size) {
|
||||
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event {
|
||||
for (GameController *c : _controllers) {
|
||||
if ([c isKindOfClass:TouchController.class]) {
|
||||
[(TouchController *)c touchesEnded:touches withEvent:event];
|
||||
[(TouchController *)c touchesCancelled:touches withEvent:event];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user