mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +00:00
Display number of matched source locations.
This commit is contained in:
parent
6e6addfa81
commit
910ce8b8ef
@ -2751,7 +2751,10 @@ void View::DrawFindZone()
|
|||||||
if( !m_findZone.match.empty() )
|
if( !m_findZone.match.empty() )
|
||||||
{
|
{
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
if( ImGui::TreeNode( "Matched source locations" ) )
|
bool expand = ImGui::TreeNode( "Matched source locations" );
|
||||||
|
ImGui::SameLine();
|
||||||
|
ImGui::TextDisabled( "(%zu)", m_findZone.match.size() );
|
||||||
|
if( expand )
|
||||||
{
|
{
|
||||||
auto prev = m_findZone.selMatch;
|
auto prev = m_findZone.selMatch;
|
||||||
int idx = 0;
|
int idx = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user