tvOS: follow-up fix to #16741 (#16851)

This commit is contained in:
Eric Warmenhoven 2024-08-06 20:02:49 -04:00 committed by GitHub
parent 204d9ff1b2
commit 41b97e4688
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -275,7 +275,7 @@ void cocoa_file_load_with_detect_core(const char *filename);
[super pressesBegan:presses withEvent:event];
else if (!press.key && [self didMicroGamepadPress:press.type])
[self sendKeyForPress:press.type down:true];
else
else if (press.key)
[super pressesBegan:[NSSet setWithObject:press] withEvent:event];
}
}