refactor(nodes): make handlebounds shallow reactive
This commit is contained in:
@@ -56,10 +56,10 @@ export const parseNode = (node: Node, nodeExtent: CoordinateExtent, defaults?: P
|
|||||||
width: 0,
|
width: 0,
|
||||||
height: 0,
|
height: 0,
|
||||||
}),
|
}),
|
||||||
handleBounds: {
|
handleBounds: shallowReactive({
|
||||||
source: [],
|
source: [],
|
||||||
target: [],
|
target: [],
|
||||||
},
|
}),
|
||||||
computedPosition: markRaw({
|
computedPosition: markRaw({
|
||||||
z: 0,
|
z: 0,
|
||||||
...node.position,
|
...node.position,
|
||||||
|
|||||||
Reference in New Issue
Block a user