From fc5293b1aee040bebbcad16c0e3add941065bcbb Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 28 Aug 2019 21:04:28 +0200 Subject: [PATCH] Only scroll message list to bottom if capture is live. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 5dad1ef6..171aa195 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6863,7 +6863,7 @@ void View::DrawMessages() } m_visibleMessages = msgcnt; - if( ImGui::GetScrollY() >= ImGui::GetScrollMaxY() ) + if( m_worker.IsConnected() && ImGui::GetScrollY() >= ImGui::GetScrollMaxY() ) { ImGui::SetScrollHereY( 1.f ); }