mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: resize multiple elements including two-point lines (#1607)
This commit is contained in:
parent
6b628bb1a6
commit
4d2e8f9ad1
3 changed files with 21 additions and 12 deletions
|
@ -407,7 +407,7 @@ export const canResizeMutlipleElements = (
|
|||
return elements.every(
|
||||
(element) =>
|
||||
["rectangle", "diamond", "ellipse"].includes(element.type) ||
|
||||
(isLinearElement(element) && element.points.length > 2),
|
||||
isLinearElement(element),
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue