From d1d54db7b6bdb0a4196d669e3ed423945a07eb0c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 15 Feb 2018 16:17:16 +0100 Subject: [PATCH] Display number of found zones. --- server/TracyView.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 0979e930..ec33d491 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4176,7 +4176,11 @@ void View::DrawFindZone() for( const auto &v : m_findZone.result ) { - if( ImGui::TreeNode( GetThreadString( v->id ) ) ) + const bool expand = ImGui::TreeNode( GetThreadString( v->id ) ); + ImGui::SameLine(); + ImGui::TextColored( ImVec4( 0.5f, 0.5f, 0.5f, 1.0f ), "(%i)", v->timeline.size() ); + + if( expand ) { ImGui::Columns( 3, GetThreadString( v->id ) ); ImGui::Separator();