chore(nodes): force dimensions update on type change
This commit is contained in:
@@ -101,7 +101,7 @@ onMounted(() => {
|
|||||||
watch(
|
watch(
|
||||||
[() => node.type, () => node.sourcePosition, () => node.targetPosition],
|
[() => node.type, () => node.sourcePosition, () => node.targetPosition],
|
||||||
() => {
|
() => {
|
||||||
updateNodeDimensions([{ id, nodeElement: nodeElement.value }])
|
updateNodeDimensions([{ id, nodeElement: nodeElement.value, forceUpdate: true }])
|
||||||
},
|
},
|
||||||
{ flush: 'post' },
|
{ flush: 'post' },
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user