add hover state to playlist card

This commit is contained in:
geoffrey45
2022-09-02 23:15:35 +03:00
parent 2dd4d58574
commit 7c575be4bc
2 changed files with 11 additions and 6 deletions
+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);