From 71b370648614ab7874cf49feb6dca5d56523086e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 3 Jul 2022 13:04:09 +0200 Subject: [PATCH] Increase contrast on timeline CPU data CPU labels. --- server/TracyView_CpuData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView_CpuData.cpp b/server/TracyView_CpuData.cpp index 335d7699..9fc47384 100644 --- a/server/TracyView_CpuData.cpp +++ b/server/TracyView_CpuData.cpp @@ -380,7 +380,7 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover, sprintf( buf, "CPU %i", i ); } const auto txtx = ImGui::CalcTextSize( buf ).x; - DrawTextContrast( draw, wpos + ImVec2( ty, offset-1 ), 0xFFDD88DD, buf ); + DrawTextSuperContrast( draw, wpos + ImVec2( ty, offset-1 ), 0xFFDD88DD, buf ); if( hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( 0, offset-1 ), wpos + ImVec2( sty + txtx, offset + sty ) ) ) { ImGui::PopFont();