mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
When opening a new trace, set view to whole time span.
This commit is contained in:
parent
4f3f0e1aae
commit
c9adadf86a
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user