fix(getNodesBounds): use absolute position by default, add options param
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
height: toolbarNode.computed?.height ?? toolbarNode.height ?? 0
|
||||
};
|
||||
} else if (toolbarNodes.length > 1) {
|
||||
nodeRect = getNodesBounds(toolbarNodes, $nodeOrigin);
|
||||
nodeRect = getNodesBounds(toolbarNodes, { nodeOrigin: $nodeOrigin });
|
||||
}
|
||||
|
||||
if (nodeRect) {
|
||||
|
||||
Reference in New Issue
Block a user