diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-11 11:42:04 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-11 11:42:04 +0200 |
| commit | 8b0e64c8561123ee7b46ca25d323167e0407aa27 (patch) | |
| tree | a143d9aad6a73349c14a0add55d5507f841abd2e | |
| parent | 083f65d85e4461130e5ec31495394c65c4918e7a (diff) | |
editor: stop using deprecated imgui API
| -rw-r--r-- | editor/imgui.cpp | 2 |
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; } |
