mirror of
https://github.com/wolfpld/tracy
synced 2025-05-07 23:43:52 +00:00
Don't display zone names in find zone menu zones list.
This commit is contained in:
parent
2ef9fe0743
commit
880eb7cbdd
@ -3717,10 +3717,8 @@ void View::DrawFindZone()
|
||||
|
||||
if( expand )
|
||||
{
|
||||
ImGui::Columns( 3, hdrString );
|
||||
ImGui::Columns( 2, hdrString );
|
||||
ImGui::Separator();
|
||||
ImGui::Text( "Name" );
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text( "Time from start" );
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text( "Execution time" );
|
||||
@ -3735,7 +3733,7 @@ void View::DrawFindZone()
|
||||
ImGui::PushID( ev );
|
||||
|
||||
auto& srcloc = m_worker.GetSourceLocation( ev->srcloc );
|
||||
if( ImGui::Selectable( m_worker.GetString( srcloc.name.active ? srcloc.name : srcloc.function ), m_zoneInfoWindow == ev, ImGuiSelectableFlags_SpanAllColumns ) )
|
||||
if( ImGui::Selectable( TimeToString( ev->start - m_worker.GetFrameBegin( 0 ) ), m_zoneInfoWindow == ev, ImGuiSelectableFlags_SpanAllColumns ) )
|
||||
{
|
||||
m_zoneInfoWindow = ev;
|
||||
}
|
||||
@ -3749,9 +3747,6 @@ void View::DrawFindZone()
|
||||
ZoneTooltip( *ev );
|
||||
}
|
||||
|
||||
ImGui::NextColumn();
|
||||
|
||||
ImGui::Text( "%s", TimeToString( ev->start - m_worker.GetFrameBegin( 0 ) ) );
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text( "%s", TimeToString( timespan ) );
|
||||
ImGui::NextColumn();
|
||||
|
Loading…
x
Reference in New Issue
Block a user