Implement multiple tracks drag & drop in the document window.

This commit is contained in:
Damiano Galassi committed 2019-01-28 14:10:19 +01:00
1 parent cdddba7f3b
commit 3778909a69
3 files changed
+14 -8

No files matched your search

+6
View File
@@ -255,6 +255,12 @@ class Queue {
}
}
func swapAt(_ i: Int, _ j: Int) {
arrayQueue.sync {
items.swapAt(i, j)
}
}
func remove(_ item: SBQueueItem) {
arrayQueue.sync {
if let index = items.firstIndex(of: item) {