mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
FullscreenUI: Fix settings menu offscreen with debug menu
This commit is contained in:
parent
24306be757
commit
4ddab3609d
|
@ -1347,8 +1347,10 @@ void DrawSettingsWindow()
|
||||||
|
|
||||||
EndFullscreenWindow();
|
EndFullscreenWindow();
|
||||||
|
|
||||||
if (BeginFullscreenWindow(ImVec2(0.0f, ImGuiFullscreen::g_menu_bar_size + heading_size.y),
|
if (BeginFullscreenWindow(
|
||||||
ImVec2(io.DisplaySize.x, io.DisplaySize.y - heading_size.y), "settings_parent"))
|
ImVec2(0.0f, ImGuiFullscreen::g_menu_bar_size + heading_size.y),
|
||||||
|
ImVec2(io.DisplaySize.x, io.DisplaySize.y - heading_size.y - ImGuiFullscreen::g_menu_bar_size),
|
||||||
|
"settings_parent"))
|
||||||
{
|
{
|
||||||
if (ImGui::IsNavInputTest(ImGuiNavInput_Cancel, ImGuiInputReadMode_Pressed))
|
if (ImGui::IsNavInputTest(ImGuiNavInput_Cancel, ImGuiInputReadMode_Pressed))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue