From 726471c114a88111146f98f9944b7eea89bccedf Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 6 Oct 2022 18:23:33 +0200 Subject: [PATCH] refactor(nodes): make handlebounds shallow reactive --- packages/vue-flow/src/utils/graph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue-flow/src/utils/graph.ts b/packages/vue-flow/src/utils/graph.ts index bc6c37e4..5146f426 100644 --- a/packages/vue-flow/src/utils/graph.ts +++ b/packages/vue-flow/src/utils/graph.ts @@ -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,