Use color to display custom zone text.

This commit is contained in:
Bartosz Taudul 2017-09-27 02:40:24 +02:00
parent c2926f2a0d
commit e683a59360

View File

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