summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-24 09:19:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-24 09:19:19 +0100
commite9311fe8a12d7834b0d910edd65eacc5e732a0ff (patch)
tree517fb2e20298f5095fdc18a1800c2a807dc879a4 /editor/imgui.cpp
parent83bca7d6861a701e8ba383a93076f346db393a33 (diff)
a
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();
}