mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-07 18:50:09 +00:00
FullscreenUI: Fix focus loss on F4 to switch view
This commit is contained in:
parent
8484170ece
commit
38022afa25
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user