summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp7
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();