mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
do not resize when in crop mode
This commit is contained in:
parent
afdf38e47c
commit
9e80c9e3dd
1 changed files with 3 additions and 1 deletions
|
@ -10048,7 +10048,9 @@ class App extends React.Component<AppProps, AppState> {
|
||||||
// Frames cannot be rotated.
|
// Frames cannot be rotated.
|
||||||
(selectedFrames.length > 0 && transformHandleType === "rotation") ||
|
(selectedFrames.length > 0 && transformHandleType === "rotation") ||
|
||||||
// Elbow arrows cannot be transformed (resized or rotated).
|
// Elbow arrows cannot be transformed (resized or rotated).
|
||||||
(selectedElements.length === 1 && isElbowArrow(selectedElements[0]))
|
(selectedElements.length === 1 && isElbowArrow(selectedElements[0])) ||
|
||||||
|
// Do not resize when in crop mode
|
||||||
|
this.state.croppingElement
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue