Refactor: resize two-point lines/arrows (#1568)

This commit is contained in:
Daishi Kato 2020-05-11 00:41:36 +09:00 committed by GitHub
parent cdb483b895
commit 394237728f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 100 additions and 185 deletions

View file

@ -58,13 +58,3 @@ export type ExcalidrawLinearElement = _ExcalidrawElementBase &
export type PointerType = "mouse" | "pen" | "touch";
export type TextAlign = "left" | "center" | "right";
export type ResizeArrowFnType = (
element: NonDeleted<ExcalidrawLinearElement>,
pointIndex: number,
deltaX: number,
deltaY: number,
pointerX: number,
pointerY: number,
perfect: boolean,
) => void;