refactor(nodes): make handlebounds shallow reactive

This commit is contained in:
braks
2022-10-07 22:55:38 +02:00
committed by Braks
parent 9b943df61a
commit 726471c114
+2 -2
View File
@@ -56,10 +56,10 @@ export const parseNode = (node: Node, nodeExtent: CoordinateExtent, defaults?: P
width: 0,
height: 0,
}),
handleBounds: {
handleBounds: shallowReactive({
source: [],
target: [],
},
}),
computedPosition: markRaw({
z: 0,
...node.position,