add hover state to playlist card

This commit is contained in:
geoffrey45 committed 2022-09-02 23:15:35 +03:00
1 parent 2dd4d58574
commit 7c575be4bc
2 files changed
+11 -6

No files matched your search

+4 -2
View File
@@ -208,9 +208,11 @@ export default defineStore("Queue", {
this.tracklist = shuffled;
this.currentindex = 0;
this.play(this.currentindex);
this.currentid = shuffled[0].trackid;
if (this.playing) {
this.play(this.currentindex);
}
},
removeFromQueue(index: number = 0) {
this.tracklist.splice(index, 1);