fix(core): use post flush when calculating new node pos

This commit is contained in:
braks
2023-07-19 19:12:29 +02:00
committed by Braks
parent ab3bb71b0a
commit 1415652a1b
@@ -158,7 +158,7 @@ const NodeWrapper = defineComponent({
node.value.computedPosition = xyzPos
}
},
{ flush: 'pre', immediate: true },
{ flush: 'post', immediate: true },
)
watch([() => node.value.extent, nodeExtent], ([nodeExtent, globalExtent], [oldNodeExtent, oldGlobalExtent]) => {