1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-08 16:03:53 +00:00

Display number of found zones.

This commit is contained in:
Bartosz Taudul 2018-02-15 16:17:16 +01:00
parent d5fe006e2d
commit d1d54db7b6

View File

@ -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();