diff options
-rw-r--r-- | ui.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui.js b/ui.js index 67f1bf4..0ae5266 100644 --- a/ui.js +++ b/ui.js @@ -692,6 +692,12 @@ class AppElement extends FocusElement { return } + // Don't unqueue the currently-playing track - this usually causes more + // trouble than it's worth. + if (item === this.playingTrack) { + return + } + const items = this.queueGrouplike.items if (items.includes(item)) { items.splice(items.indexOf(item), 1) |