1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 20:33:52 +00:00

Normalize frames in find zone view callstack.

This commit is contained in:
Bartosz Taudul 2022-08-15 22:27:36 +02:00
parent a5998adf83
commit fd2918eaf2
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1647,8 +1647,17 @@ void View::DrawFindZone()
TextDisabledUnformatted( ICON_FA_CARET_RIGHT );
}
ImGui::SameLine();
if( m_shortenName == ShortenName::Never )
{
ImGui::TextUnformatted( txt );
}
else
{
const auto normalized = ShortenZoneName( ShortenName::OnlyNormalize, txt );
ImGui::TextUnformatted( normalized );
TooltipNormalizedName( txt, normalized );
}
}
}
}
ImGui::Unindent();