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
This commit is contained in:
commit
f91abcbfe9
|
@ -0,0 +1 @@
|
||||||
|
Update playback position slider also when track is paused (#1266)
|
|
@ -551,6 +551,10 @@ export default {
|
||||||
this.updateProgressThrottled.cancel()
|
this.updateProgressThrottled.cancel()
|
||||||
}
|
}
|
||||||
this.currentSound.seek(t)
|
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 () {
|
ended: function () {
|
||||||
let onlyTrack = this.$store.state.queue.tracks.length === 1
|
let onlyTrack = this.$store.state.queue.tracks.length === 1
|
||||||
|
|
Loading…
Reference in New Issue