mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
rename setting to "use alt now playing ..."
+ fix right now playing component gap + show emoji if there's no search result + abstract now playing component settings into one setting + break context menu's context item into a component
This commit is contained in:
@@ -3,20 +3,12 @@ import useQueueStore from "../queue";
|
||||
|
||||
export default defineStore("settings", {
|
||||
state: () => ({
|
||||
use_side_np: false,
|
||||
use_right_np: true,
|
||||
use_alt_np: false,
|
||||
}),
|
||||
actions: {
|
||||
toggleNPs() {
|
||||
this.use_side_np = !this.use_side_np;
|
||||
this.use_right_np = !this.use_right_np;
|
||||
useQueueStore().bindProgressElem();
|
||||
},
|
||||
toggleUseSideNP() {
|
||||
this.toggleNPs();
|
||||
},
|
||||
toggleUseRightNP() {
|
||||
this.toggleNPs();
|
||||
this.use_alt_np = !this.use_alt_np;
|
||||
useQueueStore();
|
||||
},
|
||||
},
|
||||
getters: {},
|
||||
|
||||
Reference in New Issue
Block a user