1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Disable transparency on collapsed windows title bars.

This commit is contained in:
Bartosz Taudul 2024-09-07 18:03:38 +02:00
parent e393ade59d
commit 64f2008cc1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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 );