fix other imports as well

This commit is contained in:
Ryan Di
2025-11-19 14:40:16 +08:00
parent 38d0966227
commit cbf4d5a591
4 changed files with 5 additions and 5 deletions

View File

@@ -22,8 +22,8 @@ import {
isLineSegment,
type GlobalPoint,
type LineSegment,
isCurve,
} from "@excalidraw/math";
import { isCurve } from "@excalidraw/math/curve";
import React from "react";

View File

@@ -2,10 +2,10 @@ import {
curvePointDistance,
distanceToLineSegment,
pointRotateRads,
ellipse,
ellipseDistanceFromPoint,
} from "@excalidraw/math";
import { ellipse, ellipseDistanceFromPoint } from "@excalidraw/math/ellipse";
import type { GlobalPoint, Radians } from "@excalidraw/math";
import {

View File

@@ -30,7 +30,7 @@ import { getBoundTextElementId } from "@excalidraw/element";
import type { Bounds } from "@excalidraw/element";
import type { GlobalPoint, LineSegment } from "@excalidraw/math/types";
import type { GlobalPoint, LineSegment } from "@excalidraw/math";
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
import { AnimatedTrail } from "../animated-trail";

View File

@@ -15,7 +15,7 @@ import {
intersectElementWithLineSegment,
} from "@excalidraw/element";
import type { ElementsSegmentsMap, GlobalPoint } from "@excalidraw/math/types";
import type { ElementsSegmentsMap, GlobalPoint } from "@excalidraw/math";
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
export const getLassoSelectedElementIds = (input: {