Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-08-15 22:33:25 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-08-15 22:33:25 +0300
commit697d1f0cad072c40f92f9fca0d6bd0c7c379a0b1 (patch)
treee858ee2fec92187623bbab326868a0d9112aa689 /server/TracyView_Callstack.cpp
parentbaf365c0c30e39609d798248453675eeddaa4123 (diff)
Fully shorten frame names in one-line callstack calls.
Diffstat (limited to 'server/TracyView_Callstack.cpp')
-rw-r--r--server/TracyView_Callstack.cpp6
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 ) );
+ }
}
}