keep playback going through undo and polish the queue drag

This commit is contained in:
austinried
2026-10-04 00:29:51 +00:00
parent 7fc142ce6f
commit dde78bb9fb
5 changed files with 235 additions and 58 deletions
@@ -86,6 +86,15 @@ class FakePlayerHandle : PlayerHandle {
items += item
}
override fun insertAt(
index: Int,
item: QueueItem,
) {
operations += "insertAt($index, ${item.id})"
items.add(index, item)
if (index <= this.index) this.index++
}
override fun removeFirst() {
operations += "removeFirst"
items.removeAt(0)