update: watch node height too for updating dimensions
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -99,7 +99,7 @@ const updateNodeDimensions = ({ nodeElement, forceUpdate }: NodeDimensionUpdate)
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
watch(
|
watch(
|
||||||
() => props.node.__vf.width,
|
[() => props.node.__vf.width, () => props.node.__vf.height],
|
||||||
() => {
|
() => {
|
||||||
updateNodeDimensions({
|
updateNodeDimensions({
|
||||||
id: props.node.id,
|
id: props.node.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user