mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 03:55:33 +00:00
FullscreenUI: Fix load-and-resume-state HC popup
This commit is contained in:
parent
8e5531eaa2
commit
a310d3a5e7
@ -1165,8 +1165,12 @@ void FullscreenUI::SwitchToMainWindow(MainWindowType type)
|
||||
return;
|
||||
|
||||
s_state.current_main_window = type;
|
||||
ImGui::SetWindowFocus(nullptr);
|
||||
QueueResetFocus(FocusResetType::ViewChanged);
|
||||
if (!AreAnyDialogsOpen())
|
||||
{
|
||||
ImGui::SetWindowFocus(nullptr);
|
||||
QueueResetFocus(FocusResetType::ViewChanged);
|
||||
}
|
||||
|
||||
UpdateRunIdleState();
|
||||
FixStateIfPaused();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user