iOS: Pass through touches near the task switcher only in-game. Makes the UI better behaved.

This commit is contained in:
Henrik Rydgård committed 2024-05-26 10:27:14 +02:00
1 parent f42f7ac9d1
commit c26de64d0f
6 files changed
+45 -3

No files matched your search

+1
View File
@@ -128,6 +128,7 @@ void UpdateUIState(GlobalUIState newState) {
if (globalUIState != newState && globalUIState != UISTATE_EXIT) {
globalUIState = newState;
System_Notify(SystemNotification::DISASSEMBLY);
System_Notify(SystemNotification::UI_STATE_CHANGED);
System_SetKeepScreenBright(globalUIState == UISTATE_INGAME);
}
}