From 40a14292b36f3c35cb875d8ba2571b4c0a721c63 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 24 Mar 2018 02:45:24 +0100 Subject: [PATCH] Matched source locations and histogram default to open. --- server/TracyView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 58bc868b..4b66e1fc 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2751,7 +2751,7 @@ void View::DrawFindZone() if( !m_findZone.match.empty() ) { ImGui::Separator(); - bool expand = ImGui::TreeNode( "Matched source locations" ); + bool expand = ImGui::TreeNodeEx( "Matched source locations", ImGuiTreeNodeFlags_DefaultOpen ); ImGui::SameLine(); ImGui::TextDisabled( "(%zu)", m_findZone.match.size() ); if( expand ) @@ -2778,7 +2778,7 @@ void View::DrawFindZone() ImGui::Separator(); - if( ImGui::TreeNode( "Histogram" ) ) + if( ImGui::TreeNodeEx( "Histogram", ImGuiTreeNodeFlags_DefaultOpen ) ) { const auto ty = ImGui::GetFontSize();