mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
No auto-expand of child zones.
This commit is contained in:
parent
aebbefde2a
commit
4d0396fa06
@ -2466,8 +2466,7 @@ void View::DrawZoneInfoWindow()
|
|||||||
|
|
||||||
if( !ev.child.empty() )
|
if( !ev.child.empty() )
|
||||||
{
|
{
|
||||||
ImGui::Separator();
|
bool expand = ImGui::TreeNode( "Child zones" );
|
||||||
bool expand = ImGui::TreeNodeEx( "Child zones", ImGuiTreeNodeFlags_DefaultOpen );
|
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "(%s)", RealToString( ev.child.size(), true ) );
|
ImGui::TextDisabled( "(%s)", RealToString( ev.child.size(), true ) );
|
||||||
if( expand )
|
if( expand )
|
||||||
@ -2579,8 +2578,7 @@ void View::DrawGpuInfoWindow()
|
|||||||
|
|
||||||
if( !ev.child.empty() )
|
if( !ev.child.empty() )
|
||||||
{
|
{
|
||||||
ImGui::Separator();
|
bool expand = ImGui::TreeNode( "Child zones" );
|
||||||
bool expand = ImGui::TreeNodeEx( "Child zones", ImGuiTreeNodeFlags_DefaultOpen );
|
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "(%s)", RealToString( ev.child.size(), true ) );
|
ImGui::TextDisabled( "(%s)", RealToString( ev.child.size(), true ) );
|
||||||
if( expand )
|
if( expand )
|
||||||
|
Loading…
Reference in New Issue
Block a user