Skip to content
Snippets Groups Projects
Commit d67377af authored by Philipp Wolfer's avatar Philipp Wolfer
Browse files

Update playback position slider also when track is paused

Fixes the UI not updating when clicking the position slider while playback is paused.

Fixes #1266
parent 79219fd6
No related branches found
No related tags found
1 merge request!1239Update playback position slider also when track is paused
Update playback position slider also when track is paused (#1266)
\ No newline at end of file
......@@ -551,6 +551,10 @@ export default {
this.updateProgressThrottled.cancel()
}
this.currentSound.seek(t)
// If player is paused update progress immediately to ensure updated UI
if (!this.$store.state.player.playing) {
this.updateProgress()
}
},
ended: function () {
let onlyTrack = this.$store.state.queue.tracks.length === 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment