We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdd06e8 commit a88e82cCopy full SHA for a88e82c
renderer/elements/player/progress.js
@@ -110,9 +110,10 @@ class Progress extends Component {
110
111
update (state, emit) {
112
this.emit = emit
113
+ if (this.disabled !== truthy(state.player.currentIndex)) return true
114
if (this.key !== get(state, 'player.currentTrack.key')) return true
115
if (this.position !== state.player.currentTime) return true
- if (this.disabled !== truthy(state.player.currentIndex)) return true
116
+ if (this.duration !== get(state, 'player.currentTrack.duration')) return true
117
return false
118
}
119
0 commit comments