diff options
author | Florrie <towerofnix@gmail.com> | 2019-05-29 11:49:29 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-05-29 11:49:49 -0300 |
commit | 420d17be1f42de06448026df78688a959e5fe8b3 (patch) | |
tree | 128cd6f61b0bb19d041f2c3f890bd8c47806c4d9 /ui.js | |
parent | 565c984e563be3bc37c9ab5674ee088f2ea718c0 (diff) |
Always reumse when playing a new track
This behavior got changed recently, where the player being paused would carry through across tracks. It no longer does that.
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js index e1eb528..976ef83 100644 --- a/ui.js +++ b/ui.js @@ -232,7 +232,7 @@ class AppElement extends FocusElement { return [ {label: this.playingTrack ? `("${this.playingTrack.name}")` : '(No track playing.)'}, {divider: true}, - {element: this.playingControl}, + this.playingTrack && {element: this.playingControl}, {element: this.loopingControl}, (next || previous) && {divider: true}, previous && {label: `Previous (${previous.name})`, action: () => this.playPreviousTrack(this.playingTrack)}, |