diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-24 09:19:19 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-24 09:19:19 +0100 |
commit | e9311fe8a12d7834b0d910edd65eacc5e732a0ff (patch) | |
tree | 517fb2e20298f5095fdc18a1800c2a807dc879a4 /editor/imgui.cpp | |
parent | 83bca7d6861a701e8ba383a93076f346db393a33 (diff) |
a
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(); } |