summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index 9c60179f..2920bae7 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -89,9 +89,9 @@ void app::draw_ui()
_imgui.newFrame();
const float main_menu_height = draw_main_menu();
+ [[maybe_unused]] auto font = font_saver{ctx.FontSize*dpi};
if (_editor.mode() != editor_mode::none)
draw_editor_pane(main_menu_height);
- [[maybe_unused]] auto font = font_saver{ctx.FontSize*dpi};
draw_fps();
draw_tile_under_cursor();
ImGui::EndFrame();