From c9adadf86a6e430509f522df5ba32a94b1d969a3 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 10 Oct 2022 22:55:56 +0200 Subject: [PATCH] When opening a new trace, set view to whole time span. --- server/TracyView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 68a48307..9a871f40 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -96,7 +96,8 @@ View::View( void(*cbMainThread)(std::function, 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 );