improvement: Enhance resize for non generic elements (#2720)

This commit is contained in:
João Forja 2021-01-16 18:49:13 +00:00 committed by GitHub
parent c799b28a0e
commit e26f374ca6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 112 additions and 323 deletions

View file

@ -3587,9 +3587,6 @@ class App extends React.Component<ExcalidrawProps, AppState> {
transformElements(
pointerDownState,
transformHandleType,
(newTransformHandle) => {
pointerDownState.resize.handleType = newTransformHandle;
},
selectedElements,
pointerDownState.resize.arrowDirection,
getRotateWithDiscreteAngleKey(event),