summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index faeb2229..6126dda0 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -112,7 +112,8 @@ void app::draw_ui()
draw_editor_pane(main_menu_height);
draw_fps();
draw_tile_under_cursor();
- draw_inspector();
+ if (_editor.mode() == editor_mode::none)
+ draw_inspector();
ImGui::EndFrame();
}