Implement multiple tracks drag & drop in the document window.
This commit is contained in:
3 files changed
+14
-8
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user