0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00

Add animated waiting dots in place of ellipsis in call stack window.

This commit is contained in:
Bartosz Taudul
2026-01-14 02:25:00 +01:00
parent b19d9622b3
commit 227c7133c3

View File

@@ -14,6 +14,8 @@
namespace tracy
{
extern double s_time;
void View::DrawCallstackWindow()
{
bool show = true;
@@ -244,8 +246,14 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
if( it != m_callstackDesc.end() )
{
ImGui::SameLine();
ImGui::TextUnformatted( it->second.c_str() );
if( strcmp( it->second.c_str(), "" ) == 0 ) m_wasActive = true;
if( strcmp( it->second.c_str(), "" ) == 0 )
{
DrawWaitingDots( s_time, true, true );
}
else
{
ImGui::TextUnformatted( it->second.c_str() );
}
if( clicked ) it->second = "";
}
else if( clicked )