mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-14 09:45:27 +01:00
do not resize when in crop mode
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user