This commit is contained in:
Ryan Di 2025-03-18 22:43:29 +11:00
parent 31d61dd99e
commit 05084ed52b

View file

@ -10,6 +10,8 @@ import { getFrameChildren } from "../frame";
import { selectGroupsForSelectedElements } from "../groups"; import { selectGroupsForSelectedElements } from "../groups";
import { arrayToMap, easeOut } from "../utils"; import { arrayToMap, easeOut } from "../utils";
import LassoWorker from "./worker?worker&inline";
import type { import type {
ExcalidrawElement, ExcalidrawElement,
ExcalidrawLinearElement, ExcalidrawLinearElement,
@ -18,8 +20,6 @@ import type {
import type App from "../components/App"; import type App from "../components/App";
import type { LassoWorkerInput, LassoWorkerOutput } from "./types"; import type { LassoWorkerInput, LassoWorkerOutput } from "./types";
import LassoWorker from "./worker?worker&inline";
export class LassoTrail extends AnimatedTrail { export class LassoTrail extends AnimatedTrail {
private intersectedElements: Set<ExcalidrawElement["id"]> = new Set(); private intersectedElements: Set<ExcalidrawElement["id"]> = new Set();
private enclosedElements: Set<ExcalidrawElement["id"]> = new Set(); private enclosedElements: Set<ExcalidrawElement["id"]> = new Set();