stabilize track components

This commit is contained in:
geoffrey45
2022-09-23 14:11:06 +03:00
committed by Mungai Njoroge
parent 9cbaa7ecff
commit eb8c4e5628
7 changed files with 28 additions and 27 deletions
+3 -4
View File
@@ -1,7 +1,6 @@
import { Ref } from "vue";
import { focusElem } from "@/utils";
import { paths } from "@/config";
import { defineStore } from "pinia";
import { Ref } from "vue";
import { NotifType, useNotifStore } from "./notification";
import { FromOptions } from "../composables/enums";
@@ -12,7 +11,7 @@ import {
fromFolder,
fromPlaylist,
fromSearch,
Track,
Track
} from "../interfaces";
function shuffle(tracks: Track[]) {
@@ -245,7 +244,7 @@ export default defineStore("Queue", {
removeFromQueue(index: number = 0) {
this.tracklist.splice(index, 1);
},
setQueueFunction(
setScrollFunction(
cb: (index: number) => void,
mousover: Ref<boolean> | null
) {