Skip to content

Commit

Permalink
refactor: remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
MissLixf committed Apr 17, 2024
1 parent 2252696 commit 0648a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/draw/src/plugins/with-draw-rotate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { PlaitDrawElement } from '../interfaces';
import { getRotateHandleRectangle } from '../utils/position/geometry';

export const withDrawRotate = (board: PlaitBoard) => {
const { pointerDown, pointerMove, globalPointerUp, afterChange, drawActiveRectangle, keyDown } = board;
const { pointerDown, pointerMove, globalPointerUp, afterChange, drawActiveRectangle } = board;
let rotateRef: RotateRef | null = null;
let rotateHandleG: SVGGElement | null;
let needCustomActiveRectangle = false;
Expand Down

0 comments on commit 0648a6a

Please sign in to comment.