simplify app and pointer down state

This commit is contained in:
Ryan Di
2024-09-25 15:33:19 +08:00
parent 064bede0c5
commit 06a7a51baa
5 changed files with 47 additions and 93 deletions

View File

@@ -1,4 +1,4 @@
import { Point } from "points-on-curve";
import { type Point } from "points-on-curve";
import {
type Radians,
point,
@@ -15,7 +15,7 @@ import {
import { updateBoundElements } from "./binding";
import { mutateElement } from "./mutateElement";
import { TransformHandleType } from "./transformHandles";
import {
import type {
ElementsMap,
ExcalidrawElement,
ExcalidrawImageElement,