summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index 4fadfe44..c1523522 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -107,7 +107,7 @@ float app::draw_main_menu()
do_key(key_render_all_z_levels);
}
- main_menu_height = ImGui::GetContentRegionMax().y;
+ main_menu_height = ImGui::GetContentRegionAvail().y;
}
return main_menu_height;
}