From e683a59360ed0fc8257f8b93355f09473d0e999f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 27 Sep 2017 02:40:24 +0200 Subject: [PATCH] Use color to display custom zone text. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 43e42165..d87afa9f 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1177,7 +1177,7 @@ int View::DrawZoneLevel( const Vector& vec, bool hover, double pxns, con if( ev.text ) { ImGui::Text( "" ); - ImGui::Text( "%s", ev.text ); + ImGui::TextColored( ImVec4( 0xCC / 255.f, 0xCC / 255.f, 0x22 / 255.f, 1.f ), "%s", ev.text ); } ImGui::EndTooltip();