diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 37a2a225..19b6ffbc 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -128,9 +128,9 @@ int main( int argc, char** argv ) ImGui::StyleColorsDark(); auto& style = ImGui::GetStyle(); - style.WindowBorderSize = 1.f; - style.FrameBorderSize = 1.f; - style.FrameRounding = 5.f; + style.WindowBorderSize = 1.f * dpiScale; + style.FrameBorderSize = 1.f * dpiScale; + style.FrameRounding = 5.f * dpiScale; style.Colors[ImGuiCol_WindowBg] = ImVec4( 0.11f, 0.11f, 0.08f, 0.94f ); style.Colors[ImGuiCol_ScrollbarBg] = ImVec4( 1, 1, 1, 0.03f );