diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-08-15 22:33:25 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-08-15 22:33:25 +0300 |
commit | 697d1f0cad072c40f92f9fca0d6bd0c7c379a0b1 (patch) | |
tree | e858ee2fec92187623bbab326868a0d9112aa689 /server/TracyView_Callstack.cpp | |
parent | baf365c0c30e39609d798248453675eeddaa4123 (diff) |
Fully shorten frame names in one-line callstack calls.
Diffstat (limited to 'server/TracyView_Callstack.cpp')
-rw-r--r-- | server/TracyView_Callstack.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/TracyView_Callstack.cpp b/server/TracyView_Callstack.cpp index e3746f22..6286335d 100644 --- a/server/TracyView_Callstack.cpp +++ b/server/TracyView_Callstack.cpp @@ -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 ) ); + } } } |