From a18dce3e0aa7126807468f73610fa685c2fa2c12 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Fri, 17 Jun 2016 17:41:00 -0400 Subject: [PATCH] Correct the display when switching to seek with left click --- src/tracks/ui/Scrubbing.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tracks/ui/Scrubbing.cpp b/src/tracks/ui/Scrubbing.cpp index c9f6bd1ad..2a0ac064b 100644 --- a/src/tracks/ui/Scrubbing.cpp +++ b/src/tracks/ui/Scrubbing.cpp @@ -493,7 +493,7 @@ void Scrubber::ContinueScrubbingUI() return; } - const bool seek = Seeks(); + const bool seek = Seeks() || TemporarilySeeks(); { // Show the correct status for seeking. @@ -621,7 +621,7 @@ bool Scrubber::ShouldDrawScrubSpeed() return IsScrubbing() && !mPaused && ( // Draw for (non-scroll) scrub, sometimes, but never for seek - (!Seeks() && mScrubSpeedDisplayCountdown > 0) + (!(Seeks() || TemporarilySeeks()) && mScrubSpeedDisplayCountdown > 0) // Draw always for scroll-scrub and for scroll-seek || mSmoothScrollingScrub ); @@ -798,7 +798,7 @@ void ScrubbingOverlay::OnTimer(wxCommandEvent &event) // Where's the mouse? position = trackPanel->ScreenToClient(position); - const bool seeking = scrubber.Seeks(); + const bool seeking = scrubber.Seeks() || scrubber.TemporarilySeeks(); // Find the text const double maxScrubSpeed = GetScrubber().GetMaxScrubSpeed();