diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 85e1c819..e2b48c7c 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -782,7 +782,7 @@ bool View::DrawImpl() m_lockInfoAnim.Update( io.DeltaTime ); m_statBuzzAnim.Update( io.DeltaTime ); - if( m_firstFrame ) m_firstFrame = false; + if( m_firstFrame > 0 ) m_firstFrame--; if( m_reactToCrash ) { @@ -2231,7 +2231,7 @@ void View::AdjustThreadHeight( View::VisData& vis, int oldOffset, int& offset ) } else if( vis.height < h ) { - if( m_firstFrame ) + if( m_firstFrame > 0 ) { vis.height = h; offset = oldOffset + h; diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 198982a6..f7882d15 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -428,7 +428,7 @@ private: UserData m_userData; bool m_reconnectRequested = false; - bool m_firstFrame = true; + int m_firstFrame = 10; std::vector m_sourceSubstitutions; bool m_sourceRegexValid = true;