chore(react/svelte): rename node.dimensions to node.size
This commit is contained in:
@@ -85,8 +85,8 @@ function toHandleBounds(handles?: HandleElement[]) {
|
||||
|
||||
function getHandleDataByNode(node?: NodeBase): [Rect, NodeHandleBounds | null, boolean] {
|
||||
const handleBounds = node?.[internalsSymbol]?.handleBounds || toHandleBounds(node?.handles) || null;
|
||||
const nodeWidth = node?.width || node?.dimensions?.width;
|
||||
const nodeHeight = node?.height || node?.dimensions?.height;
|
||||
const nodeWidth = node?.width || node?.size?.width;
|
||||
const nodeHeight = node?.height || node?.size?.height;
|
||||
|
||||
const isValid =
|
||||
handleBounds &&
|
||||
|
||||
Reference in New Issue
Block a user