From 64f2008cc1cf845771969e871b40125c778df33a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 7 Sep 2024 18:03:38 +0200 Subject: [PATCH] Disable transparency on collapsed windows title bars. --- profiler/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 8292a692a..afff93556 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -186,6 +186,7 @@ static void SetupDPIScale() style.Colors[ImGuiCol_Header] = ImVec4(0.26f, 0.59f, 0.98f, 0.25f); style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.35f); style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.26f, 0.59f, 0.98f, 0.45f); + style.Colors[ImGuiCol_TitleBgCollapsed] = style.Colors[ImGuiCol_TitleBg]; style.ScaleAllSizes( scale ); const auto ty = int( 80 * scale );