diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-20 05:16:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-20 05:16:00 +0200 |
commit | 5be116ea43231c747f09c4d43a75d45984b54a66 (patch) | |
tree | 864a8ff09c2d89db36d36b085f574b77d3883e3a /editor/imgui.cpp | |
parent | d1fe527d45aecb2b011bb2b25f3d887fd232d4f7 (diff) |
bnbb
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r-- | editor/imgui.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp index b2623800..6eaccd4c 100644 --- a/editor/imgui.cpp +++ b/editor/imgui.cpp @@ -122,17 +122,14 @@ void app::draw_ui() draw_lightmap_test(main_menu_height); - if (_editor.current_tile_editor() || _editor.current_scenery_editor() || _editor.current_vobj_editor()) + if (_editor.current_tile_editor() || _editor.current_scenery_editor() || + _editor.current_vobj_editor() || _editor.mode() == editor_mode::tests) draw_editor_pane(main_menu_height); - else if (_editor.mode() == editor_mode::tests) - draw_tests_pane(main_menu_height); draw_fps(); draw_tile_under_cursor(); if (_editor.mode() == editor_mode::none) draw_inspector(); - if (_editor.mode() == editor_mode::tests) - draw_tests_pane(main_menu_height); draw_z_level(); do_popup_menu(); ImGui::EndFrame(); |