From 4b1c0ff0c54c05377715ca71e3b0e14b677e1da0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 6 Mar 2019 01:45:26 +0100 Subject: [PATCH] Fix frame selection when zoom anim is active. --- server/TracyView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a1be1952..1bcacc8d 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1240,6 +1240,7 @@ void View::DrawFrames() if( ImGui::IsMouseClicked( 0 ) ) { m_pause = true; + m_zoomAnim.active = false; m_zvStart = m_worker.GetFrameBegin( *m_frames, sel ); m_zvEnd = m_worker.GetFrameEnd( *m_frames, sel + group - 1 ); if( m_zvStart == m_zvEnd ) m_zvStart--;