From 166c553af3a592a2d96c5b9dfd84c599dcb577be Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 30 Dec 2022 20:20:52 +0100 Subject: [PATCH] Make diff added/deleted files list collapsed by default. --- server/TracyView_Compare.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyView_Compare.cpp b/server/TracyView_Compare.cpp index 498e1bdc..96608b0d 100644 --- a/server/TracyView_Compare.cpp +++ b/server/TracyView_Compare.cpp @@ -360,7 +360,7 @@ void View::DrawCompare() { if( !m_compare.thisUnique.empty() ) { - const auto expand = ImGui::TreeNodeEx( ICON_FA_FILE_CIRCLE_XMARK " Deleted files", ImGuiTreeNodeFlags_DefaultOpen ); + const auto expand = ImGui::TreeNode( ICON_FA_FILE_CIRCLE_XMARK " Deleted files" ); ImGui::SameLine(); ImGui::TextDisabled( "(%s)", RealToString( m_compare.thisUnique.size() ) ); if( expand ) @@ -384,7 +384,7 @@ void View::DrawCompare() } if( !m_compare.secondUnique.empty() ) { - const auto expand = ImGui::TreeNodeEx( ICON_FA_FILE_CIRCLE_PLUS " Added files", ImGuiTreeNodeFlags_DefaultOpen ); + const auto expand = ImGui::TreeNode( ICON_FA_FILE_CIRCLE_PLUS " Added files" ); ImGui::SameLine(); ImGui::TextDisabled( "(%s)", RealToString( m_compare.secondUnique.size() ) ); if( expand )