Skip to content

Commit

Permalink
UI: Abandon focus movement on returning from pause.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed May 29, 2022
1 parent 21bf41e commit 1b2b443
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/EmuScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 1b2b443

Please sign in to comment.