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

Exclude missing on-demand frames from on-load zoom.

This commit is contained in:
Bartosz Taudul 2023-03-03 21:46:48 +01:00
parent c91b052c80
commit 1f94ab32df
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -90,7 +90,7 @@ View::View( void(*cbMainThread)(std::function<void()>, bool), FileRead& f, ImFon
InitMemory(); InitMemory();
InitTextEditor( fixedWidth ); InitTextEditor( fixedWidth );
m_vd.zvStart = 0; m_vd.zvStart = m_worker.GetFirstTime();
m_vd.zvEnd = m_worker.GetLastTime(); m_vd.zvEnd = m_worker.GetLastTime();
m_userData.StateShouldBePreserved(); m_userData.StateShouldBePreserved();
m_userData.LoadState( m_vd ); m_userData.LoadState( m_vd );