Skip to content

Commit

Permalink
Fix missing queue menu items (Transfer queue, etc).
Browse files Browse the repository at this point in the history
  • Loading branch information
CDrummond committed Jul 2, 2022
1 parent 0610d22 commit 0d29b8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2.9.8
-----
1. Adjust desktop layout code to try to fix Safari issues (#589)
2. Fix missing queue menu items (Transfer queue, etc).

2.9.7
-----
Expand All @@ -11,7 +12,7 @@
or showing track info.
5. Don't show queue menu items in main menu when on desktop layout and queue
is hidden.
6. Always place 'Tansfer queue', 'Scroll to current', and 'Add URL' in main
6. Always place 'Transfer queue', 'Scroll to current', and 'Add URL' in main
menu.

2.9.6
Expand Down
4 changes: 2 additions & 2 deletions MaterialSkin/HTML/material/html/js/queue-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -1128,10 +1128,10 @@ var lmsQueue = Vue.component("lms-queue", {
var canMove = this.$store.state.players && this.$store.state.players.length>1;
if (canMove && this.settingsMenuActions[0]!=PQ_MOVE_QUEUE_ACTION) {
this.settingsMenuActions.unshift(PQ_MOVE_QUEUE_ACTION);
bus.$emit('settingsMenuActions', this.wide>1 ? [] : this.settingsMenuActions, 'queue');
bus.$emit('settingsMenuActions', /*this.wide>1 ? [] :*/ this.settingsMenuActions, 'queue');
} else if (!canMove && this.settingsMenuActions[0]==PQ_MOVE_QUEUE_ACTION) {
this.settingsMenuActions.splice(0, 1);
bus.$emit('settingsMenuActions', this.wide>1 ? [] : this.settingsMenuActions, 'queue');
bus.$emit('settingsMenuActions', /*this.wide>1 ? [] :*/ this.settingsMenuActions, 'queue');
}
},
repeatClicked(longPress) {
Expand Down

0 comments on commit 0d29b8b

Please sign in to comment.