diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2021-10-10 10:58:36 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2021-10-10 10:58:36 -0300 |
commit | fc1da6ee8ea604f1f6fcf2d0c82775fc7eeb8e32 (patch) | |
tree | b08efab793857596aadd06f58adfae70987f6ed2 /ui.js | |
parent | ec0b00d62f5fe02248de71552f5cd3d76589295c (diff) |
update controls to loop queue on last track
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.js b/ui.js index bf67b8e..b8dd63c 100644 --- a/ui.js +++ b/ui.js @@ -361,6 +361,8 @@ class AppElement extends FocusElement { {divider: true}, previous && {label: `Previous (${previous.name})`, action: () => this.SQP.playPrevious(playingTrack)}, next && {label: `Next (${next.name})`, action: () => this.SQP.playNext(playingTrack)}, + !next && this.SQP.queueEndMode === 'loop' && + {label: `Next (loop queue)`, action: () => this.SQP.playNext(playingTrack)}, next && {label: '- Play later', action: () => this.playLater(next)} ] }}, |