mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Fully shorten frame names in one-line callstack calls.
This commit is contained in:
parent
baf365c0c3
commit
697d1f0cad
@ -405,10 +405,14 @@ void View::DrawCallstackCalls( uint32_t callstack, uint16_t limit ) const
|
||||
{
|
||||
TextDisabledUnformatted( txt );
|
||||
}
|
||||
else
|
||||
else if( m_shortenName == ShortenName::Never )
|
||||
{
|
||||
ImGui::TextUnformatted( txt );
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui::TextUnformatted( ShortenZoneName( ShortenName::Always, txt ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user