diff options
Diffstat (limited to 'editor/imgui.cpp')
| -rw-r--r-- | editor/imgui.cpp | 3 |
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(); } |
