chore(nodes): force dimensions update on type change

This commit is contained in:
braks
2022-10-07 22:55:38 +02:00
committed by Braks
parent 091c3dff31
commit 00059aabab
@@ -101,7 +101,7 @@ onMounted(() => {
watch(
[() => node.type, () => node.sourcePosition, () => node.targetPosition],
() => {
updateNodeDimensions([{ id, nodeElement: nodeElement.value }])
updateNodeDimensions([{ id, nodeElement: nodeElement.value, forceUpdate: true }])
},
{ flush: 'post' },
)