From a1c5bea302cdcdcce0023702c17cd9f7922ada68 Mon Sep 17 00:00:00 2001 From: casey Date: Thu, 30 Jun 2016 16:46:22 -0700 Subject: [PATCH] Reset the last time when the track changes. --- src/musikbox/app/window/TransportWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/musikbox/app/window/TransportWindow.cpp b/src/musikbox/app/window/TransportWindow.cpp index 57dcd32fc..a8c1a0509 100755 --- a/src/musikbox/app/window/TransportWindow.cpp +++ b/src/musikbox/app/window/TransportWindow.cpp @@ -212,6 +212,7 @@ void TransportWindow::ProcessMessage(IMessage &message) { void TransportWindow::OnPlaybackServiceTrackChanged(size_t index, TrackPtr track) { this->currentTrack = track; + this->lastTime = 0.0f; DEBOUNCE_REFRESH(0) }