From b53e10b25e53a27de18d11b355c2d4d7d0136674 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 11 Jan 2026 20:42:13 +0100 Subject: [PATCH] Fake a progress indicator. --- profiler/src/profiler/TracyView_Callstack.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/profiler/src/profiler/TracyView_Callstack.cpp b/profiler/src/profiler/TracyView_Callstack.cpp index dd429cb6..0c69a860 100644 --- a/profiler/src/profiler/TracyView_Callstack.cpp +++ b/profiler/src/profiler/TracyView_Callstack.cpp @@ -171,8 +171,10 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton ) ImGui::SameLine(); ImGui::SeparatorEx( ImGuiSeparatorFlags_Vertical ); ImGui::SameLine(); + bool clicked = false; if( ImGui::SmallButton( ICON_FA_TAG ) ) { + clicked = true; nlohmann::json req = { { { "role", "system" }, @@ -236,6 +238,11 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton ) { ImGui::SameLine(); ImGui::TextUnformatted( it->second.c_str() ); + if( clicked ) it->second = "…"; + } + else if( clicked ) + { + m_callstackDesc.emplace( callstack, "…" ); } } #endif