Fully shorten frame names in one-line callstack calls.

This commit is contained in:
Bartosz Taudul
2022-08-15 21:33:25 +02:00
parent baf365c0c3
commit 697d1f0cad

View File

@@ -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 ) );
}
}
}