From eeab1bf1a94f950b8071c8c419de5dbc7f6fdc50 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 17 Jun 2026 14:04:43 +0200 Subject: [PATCH] Border sizes are scaled by ScaleAllSizes() since ImGui 1.92.7. --- profiler/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 41c314f0..e254af00 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -177,8 +177,8 @@ static void SetupDPIScale() auto& style = ImGui::GetStyle(); style = ImGuiStyle(); ImGui::StyleColorsDark(); - style.WindowBorderSize = 1.f * scale; - style.FrameBorderSize = 1.f * scale; + style.WindowBorderSize = 1.f; + style.FrameBorderSize = 1.f; style.FrameRounding = 5.f; style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 1, 1, 1, 0.03f ); style.Colors[ImGuiCol_Header] = ImVec4(0.26f, 0.59f, 0.98f, 0.25f);