mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-16 22:13:19 +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) {
|
void TransportWindow::OnPlaybackServiceTrackChanged(size_t index, TrackPtr track) {
|
||||||
this->currentTrack = track;
|
this->currentTrack = track;
|
||||||
|
this->lastTime = 0.0f;
|
||||||
DEBOUNCE_REFRESH(0)
|
DEBOUNCE_REFRESH(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user