refactor(xydrag): cleanup

This commit is contained in:
moklick
2024-04-16 18:31:08 +02:00
parent 5db4bd4dfd
commit eafb3c5e34
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ export function getDragItems<NodeType extends NodeBase>(
positionAbsolute: internalNode.internals.positionAbsolute || { x: 0, y: 0 },
},
measured: {
width: internalNode.measured.width || 0,
height: internalNode.measured.height || 0,
width: internalNode.measured.width ?? 0,
height: internalNode.measured.height ?? 0,
},
});
}