mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +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();
|
InitMemory();
|
||||||
InitTextEditor( fixedWidth );
|
InitTextEditor( fixedWidth );
|
||||||
SetViewToLastFrames();
|
m_vd.zvStart = 0;
|
||||||
|
m_vd.zvEnd = m_worker.GetLastTime();
|
||||||
m_userData.StateShouldBePreserved();
|
m_userData.StateShouldBePreserved();
|
||||||
m_userData.LoadState( m_vd );
|
m_userData.LoadState( m_vd );
|
||||||
m_userData.LoadAnnotations( m_annotations );
|
m_userData.LoadAnnotations( m_annotations );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user