mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +00:00
Reset the last time when the track changes.
This commit is contained in:
parent
713bf0d646
commit
a1c5bea302
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user