mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 00:23:47 +00:00
Shorten external frames in call stack tooltips.
This commit is contained in:
@@ -825,7 +825,16 @@ void View::CallstackTooltipContents( uint32_t idx )
|
||||
}
|
||||
else if( external )
|
||||
{
|
||||
TextDisabledUnformatted( txt );
|
||||
if( m_vd.shortenName == ShortenName::Never )
|
||||
{
|
||||
TextDisabledUnformatted( txt );
|
||||
}
|
||||
else
|
||||
{
|
||||
const auto normalized = ShortenZoneName( ShortenName::OnlyNormalize, txt );
|
||||
TextDisabledUnformatted( normalized );
|
||||
TooltipNormalizedName( txt, normalized );
|
||||
}
|
||||
}
|
||||
else if( m_vd.shortenName == ShortenName::Never )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user