From 8b0e64c8561123ee7b46ca25d323167e0407aa27 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 11 Aug 2024 11:42:04 +0200 Subject: editor: stop using deprecated imgui API --- editor/imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/imgui.cpp') 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; } -- cgit v1.2.3