mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-08 04:25:37 +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;
|
return;
|
||||||
|
|
||||||
s_state.current_main_window = type;
|
s_state.current_main_window = type;
|
||||||
ImGui::SetWindowFocus(nullptr);
|
if (!AreAnyDialogsOpen())
|
||||||
QueueResetFocus(FocusResetType::ViewChanged);
|
{
|
||||||
|
ImGui::SetWindowFocus(nullptr);
|
||||||
|
QueueResetFocus(FocusResetType::ViewChanged);
|
||||||
|
}
|
||||||
|
|
||||||
UpdateRunIdleState();
|
UpdateRunIdleState();
|
||||||
FixStateIfPaused();
|
FixStateIfPaused();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user