From 5be116ea43231c747f09c4d43a75d45984b54a66 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 Oct 2023 05:16:00 +0200 Subject: bnbb --- editor/imgui.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'editor/imgui.cpp') 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(); -- cgit v1.2.3