fixed drag and drop behavior

This commit is contained in:
2026-02-19 22:37:19 -05:00
parent 193f65bd98
commit 56cf92a44c
11 changed files with 825 additions and 44 deletions
@@ -118,4 +118,18 @@ export class QueueController implements ReactiveController {
playAtIndex(index: number): void {
queueStore.playAtIndex(index);
}
insertTracksAtIndex(
filePaths: string[],
index: number,
): void {
queueStore.insertTracksAtIndex(filePaths, index);
}
moveTracksInQueue(
fromIndices: number[],
toIndex: number,
): void {
queueStore.moveTracksInQueue(fromIndices, toIndex);
}
}