mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: disable locking aspect ratio for box-selection (#5525)
This commit is contained in:
parent
865d29388c
commit
501397cb61
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ export const dragNewElement = (
|
|||
true */
|
||||
widthAspectRatio?: number | null,
|
||||
) => {
|
||||
if (shouldMaintainAspectRatio) {
|
||||
if (shouldMaintainAspectRatio && draggingElement.type !== "selection") {
|
||||
if (widthAspectRatio) {
|
||||
height = width / widthAspectRatio;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue