fix(core): compare internal node dimensions when updating

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-03 19:18:55 +01:00
committed by Braks
parent 3d6cb4b912
commit da7dc3de4a

View File

@@ -126,7 +126,7 @@ export function useActions(state: State, getters: ComputedGetters): Actions {
const doUpdate = !!(
dimensions.width &&
dimensions.height &&
(node.width !== dimensions.width || node.height !== dimensions.height || update.forceUpdate)
(node.dimensions.width !== dimensions.width || node.dimensions.height !== dimensions.height || update.forceUpdate)
)
if (doUpdate) {