mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-06 19:45:33 +00:00
FullscreenUI: Fix keynav default in open-in-game-list mode
This commit is contained in:
parent
f36062a94e
commit
e4a028834a
@ -7706,6 +7706,9 @@ void FullscreenUI::DrawGameList(const ImVec2& heading_size)
|
||||
HandleGameListOptions(selected_entry);
|
||||
}
|
||||
}
|
||||
|
||||
if (entry == s_state.game_list_sorted_entries.front())
|
||||
ImGui::SetItemDefaultFocus();
|
||||
}
|
||||
|
||||
EndMenuButtons();
|
||||
@ -8011,6 +8014,9 @@ void FullscreenUI::DrawGameGrid(const ImVec2& heading_size)
|
||||
}
|
||||
}
|
||||
|
||||
if (entry == s_state.game_list_sorted_entries.front())
|
||||
ImGui::SetItemDefaultFocus();
|
||||
|
||||
grid_x++;
|
||||
if (grid_x == grid_count_x)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user