mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Normalize frames in find zone view callstack.
This commit is contained in:
parent
a5998adf83
commit
fd2918eaf2
@ -1647,7 +1647,16 @@ void View::DrawFindZone()
|
||||
TextDisabledUnformatted( ICON_FA_CARET_RIGHT );
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::TextUnformatted( txt );
|
||||
if( m_shortenName == ShortenName::Never )
|
||||
{
|
||||
ImGui::TextUnformatted( txt );
|
||||
}
|
||||
else
|
||||
{
|
||||
const auto normalized = ShortenZoneName( ShortenName::OnlyNormalize, txt );
|
||||
ImGui::TextUnformatted( normalized );
|
||||
TooltipNormalizedName( txt, normalized );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user