mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Selecting a zone in time distribution list opens zone statistics.
This commit is contained in:
parent
13a7444f03
commit
acce6867f1
@ -6364,7 +6364,11 @@ void View::DrawZoneInfoWindow()
|
||||
const auto& sl = m_worker.GetSourceLocation( v->first );
|
||||
SmallColorBox( GetSrcLocColor( sl, 0 ) );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextUnformatted( m_worker.GetZoneName( sl ) );
|
||||
const auto name = m_worker.GetZoneName( sl );
|
||||
if( ImGui::Selectable( name, false, ImGuiSelectableFlags_SpanAllColumns ) )
|
||||
{
|
||||
m_findZone.ShowZone( v->first, name );
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(\xc3\x97%s)", RealToString( v->second.count, true ) );
|
||||
ImGui::NextColumn();
|
||||
|
Loading…
Reference in New Issue
Block a user