mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Merge c299246c8d
into ab89d4c16f
This commit is contained in:
commit
9438d3be21
1 changed files with 4 additions and 4 deletions
|
@ -75,10 +75,10 @@ export const getElementsWithinSelection = (
|
|||
element.locked === false &&
|
||||
element.type !== "selection" &&
|
||||
!isBoundToContainer(element) &&
|
||||
selectionX1 <= elementX1 &&
|
||||
selectionY1 <= elementY1 &&
|
||||
selectionX2 >= elementX2 &&
|
||||
selectionY2 >= elementY2
|
||||
selectionX1 <= elementX2 &&
|
||||
selectionY1 <= elementY2 &&
|
||||
selectionX2 >= elementX1 &&
|
||||
selectionY2 >= elementY1
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue