mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Add children locations grouping button.
This commit is contained in:
@@ -4146,6 +4146,9 @@ void View::DrawZoneInfoWindow()
|
||||
ImGui::TextDisabled( "(%s)", RealToString( children.size(), true ) );
|
||||
if( expand )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
if( ImGui::SmallButton( m_groupChildrenLocations ? "Display all children separate" : "Group children locations" ) ) m_groupChildrenLocations = !m_groupChildrenLocations;
|
||||
|
||||
auto ctt = std::make_unique<uint64_t[]>( children.size() );
|
||||
auto cti = std::make_unique<uint32_t[]>( children.size() );
|
||||
uint64_t ctime = 0;
|
||||
|
||||
Reference in New Issue
Block a user