mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-02 01:44:34 +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 )
|
if( ev.text )
|
||||||
{
|
{
|
||||||
ImGui::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();
|
ImGui::EndTooltip();
|
||||||
|
Loading…
Reference in New Issue
Block a user