1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Extend "first frame" time.

This commit is contained in:
Bartosz Taudul 2020-05-23 16:50:30 +02:00
parent 1ddd395aad
commit d3b60f913d
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -428,7 +428,7 @@ private:
UserData m_userData;
bool m_reconnectRequested = false;
bool m_firstFrame = true;
int m_firstFrame = 10;
std::vector<SourceRegex> m_sourceSubstitutions;
bool m_sourceRegexValid = true;