Skip to content

Commit

Permalink
Disable transparency on collapsed windows title bars.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Sep 7, 2024
1 parent e393ade commit 64f2008
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions profiler/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 64f2008

Please sign in to comment.