From 5f0f3628cee82659ab822e128bd8e6746ef8713c Mon Sep 17 00:00:00 2001 From: Luke Street Date: Fri, 3 Apr 2026 17:09:29 -0600 Subject: [PATCH] Rescale imgui on display scale change --- src/m_Do/m_Do_main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/m_Do/m_Do_main.cpp b/src/m_Do/m_Do_main.cpp index 3c51875bd5..185ca8543c 100644 --- a/src/m_Do/m_Do_main.cpp +++ b/src/m_Do/m_Do_main.cpp @@ -157,6 +157,9 @@ void main01(void) { case AURORA_WINDOW_RESIZED: mDoGph_gInf_c::setWindowSize(event->windowSize); break; + case AURORA_DISPLAY_SCALE_CHANGED: + dusk::ImGuiEngine_Initialize(event->windowSize.scale); + break; case AURORA_EXIT: goto exit; }