FullscreenUI: Fix focus loss on F4 to switch view

This commit is contained in:
Stenzek 2025-07-02 20:01:09 +10:00
parent 8484170ece
commit 38022afa25
No known key found for this signature in database

View File

@ -7954,6 +7954,7 @@ void FullscreenUI::DrawGameListWindow()
BeginTransition([]() {
s_state.game_list_view =
(s_state.game_list_view == GameListView::Grid) ? GameListView::List : GameListView::Grid;
QueueResetFocus(FocusResetType::ViewChanged);
});
}
else if (ImGui::IsKeyPressed(ImGuiKey_GamepadBack, false) || ImGui::IsKeyPressed(ImGuiKey_F2, false))