Moved ShapeCache in element

This commit is contained in:
Marcel Mraz 2025-03-18 11:54:51 +01:00
parent 875450a0a1
commit 931d03d514
23 changed files with 84 additions and 54 deletions

View file

@ -19,7 +19,6 @@ import {
invariant,
tupleToCoors,
} from "@excalidraw/common";
import { ShapeCache } from "@excalidraw/excalidraw/scene/ShapeCache";
import {
getBezierCurveLength,
@ -29,6 +28,8 @@ import {
mapIntervalToBezierT,
} from "@excalidraw/element";
import type { Store } from "@excalidraw/excalidraw/store";
import type { Radians } from "@excalidraw/math";
import type Scene from "@excalidraw/excalidraw/scene/Scene";
@ -59,6 +60,8 @@ import {
isFixedPointBinding,
} from "./typeChecks";
import { ShapeCache } from "./ShapeCache";
import { getElementAbsoluteCoords, getLockedLinearCursorAlignSize } from "./";
import type { Bounds } from "./bounds";