1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00

fix: delete setCursor when resize (#6660)

This commit is contained in:
WBbug 2023-06-08 17:41:22 +08:00 committed by GitHub
parent 84bd9bd4ff
commit a39640ead1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4155,12 +4155,6 @@ class App extends React.Component<AppProps, AppState> {
); );
} }
if (pointerDownState.resize.handleType) { if (pointerDownState.resize.handleType) {
setCursor(
this.canvas,
getCursorForResizingElement({
transformHandleType: pointerDownState.resize.handleType,
}),
);
pointerDownState.resize.isResizing = true; pointerDownState.resize.isResizing = true;
pointerDownState.resize.offset = tupleToCoors( pointerDownState.resize.offset = tupleToCoors(
getResizeOffsetXY( getResizeOffsetXY(