mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Use color to display custom zone text.
This commit is contained in:
parent
c2926f2a0d
commit
e683a59360
@ -1177,7 +1177,7 @@ int View::DrawZoneLevel( const Vector<Event*>& 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();
|
||||
|
Loading…
Reference in New Issue
Block a user