do not resize when in crop mode

pull/8613/head
Ryan Di 5 months ago
parent afdf38e47c
commit 9e80c9e3dd

@ -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…
Cancel
Save