Display zone text.

This commit is contained in:
Bartosz Taudul 2017-09-27 02:21:51 +02:00
parent d1bbb731fc
commit d65d957272

View File

@ -1170,6 +1170,12 @@ int View::DrawZoneLevel( const Vector<Event*>& vec, bool hover, double pxns, con
ImGui::Text( "%s:%i", filename, line );
ImGui::Text( "Execution time: %s", TimeToString( end - ev.start ) );
ImGui::Text( "Without profiling: %s", TimeToString( end - ev.start - m_delay ) );
if( ev.text )
{
ImGui::Text( "" );
ImGui::Text( "%s", ev.text );
}
ImGui::EndTooltip();
if( m_zvStartNext == 0 && ImGui::IsMouseClicked( 2 ) && ev.end - ev.start > 0 )