From 11b75ddda45b6fa1c3841ac95fe9a42ebfcfe511 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 20 Feb 2022 13:08:21 -0800 Subject: [PATCH] Initialize ImGui with scaling --- aurora/lib/aurora.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/lib/aurora.cpp b/aurora/lib/aurora.cpp index aa18eb2c8..f6c362325 100644 --- a/aurora/lib/aurora.cpp +++ b/aurora/lib/aurora.cpp @@ -271,7 +271,7 @@ void app_run(std::unique_ptr app, Icon icon, int argc, char** argv) } imgui::create_context(); - g_AppDelegate->onImGuiInit(1.f); // TODO scale + g_AppDelegate->onImGuiInit(g_AppDpi); imgui::initialize(g_Window); g_AppDelegate->onImGuiAddTextures();