Initial work on drag-and-drop

This commit is contained in:
Magnus Åhall 2026-06-14 14:36:28 +02:00
parent 1055404dc0
commit 61b0ba9ada
10 changed files with 514 additions and 8 deletions

View file

@ -247,6 +247,7 @@ export class NodeStore {
nodeStore = t.objectStore('nodes')
t.oncomplete = (_event) => {
console.log('complete')
resolve()
}
@ -358,6 +359,7 @@ class SimpleNodeStore {
// Node to be moved is first stored in the new queue.
const req = store.put(node.data)
req.onsuccess = () => {
console.log('here')
resolve()
}
req.onerror = (event) => {