When opening a new trace, set view to whole time span.

This commit is contained in:
Bartosz Taudul 2022-10-10 22:55:56 +02:00
parent 4f3f0e1aae
commit c9adadf86a
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

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