Merge branch 'update-playback-progress-on-pause' into 'develop'

Update playback position slider also when track is paused

Closes #1266

See merge request funkwhale/funkwhale!1239
environments/review-docs-devel-1399dq/deployments/6607
Agate 2020-11-21 11:18:46 +01:00
commit f91abcbfe9
2 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1 @@
Update playback position slider also when track is paused (#1266)

Wyświetl plik

@ -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