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:
parent
d5fe006e2d
commit
d1d54db7b6
@ -4176,7 +4176,11 @@ void View::DrawFindZone()
|
|||||||
|
|
||||||
for( const auto &v : m_findZone.result )
|
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::Columns( 3, GetThreadString( v->id ) );
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user