mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 15:13:37 +02:00
Merge pull request #15560 from unknownbrackets/pause-focus
UI: Abandon focus movement on returning from pause
This commit is contained in:
@@ -943,7 +943,7 @@ int PSPOskDialog::Update(int animSpeed) {
|
||||
// Windows: Fall back to the OSK/continue normally if we're in fullscreen.
|
||||
// The dialog box doesn't work right if in fullscreen.
|
||||
if (System_GetPropertyBool(SYSPROP_HAS_KEYBOARD)) {
|
||||
if (g_Config.bBypassOSKWithKeyboard && !g_Config.bFullScreen)
|
||||
if (g_Config.bBypassOSKWithKeyboard && !g_Config.UseFullScreen())
|
||||
return NativeKeyboard();
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -414,6 +414,9 @@ void EmuScreen::dialogFinished(const Screen *dialog, DialogResult result) {
|
||||
System_SendMessage("event", "exitgame");
|
||||
quit_ = false;
|
||||
}
|
||||
// Returning to the PauseScreen, unless we're stepping, means we should go back to controls.
|
||||
if (Core_IsActive())
|
||||
UI::EnableFocusMovement(false);
|
||||
RecreateViews();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user