No auto-expand of child zones.

This commit is contained in:
Bartosz Taudul 2018-03-28 01:47:20 +02:00
parent aebbefde2a
commit 4d0396fa06

View File

@ -2466,8 +2466,7 @@ void View::DrawZoneInfoWindow()
if( !ev.child.empty() )
{
ImGui::Separator();
bool expand = ImGui::TreeNodeEx( "Child zones", ImGuiTreeNodeFlags_DefaultOpen );
bool expand = ImGui::TreeNode( "Child zones" );
ImGui::SameLine();
ImGui::TextDisabled( "(%s)", RealToString( ev.child.size(), true ) );
if( expand )
@ -2579,8 +2578,7 @@ void View::DrawGpuInfoWindow()
if( !ev.child.empty() )
{
ImGui::Separator();
bool expand = ImGui::TreeNodeEx( "Child zones", ImGuiTreeNodeFlags_DefaultOpen );
bool expand = ImGui::TreeNode( "Child zones" );
ImGui::SameLine();
ImGui::TextDisabled( "(%s)", RealToString( ev.child.size(), true ) );
if( expand )