fix: disable locking aspect ratio for box-selection (#5525)
This commit is contained in:
parent
865d29388c
commit
501397cb61
@ -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…
x
Reference in New Issue
Block a user