UI: Abandon focus movement on returning from pause.

See #15530.
This commit is contained in:
Unknown W. Brackets 2022-05-29 11:16:15 -07:00
parent 21bf41e6dd
commit 1b2b443a03

View file

@ -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();
}