update remaining paths to use utils workspace
This commit is contained in:
@@ -231,8 +231,8 @@ import {
|
||||
getFreedrawShape,
|
||||
getPolygonShape,
|
||||
getSelectionBoxShape,
|
||||
} from "../../utils/geometry/shape";
|
||||
import { isPointInShape } from "../../utils/collision";
|
||||
} from "@excalidraw/utils";
|
||||
import { isPointInShape } from "@excalidraw/utils";
|
||||
import {
|
||||
AppClassProperties,
|
||||
AppProps,
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
Polygon,
|
||||
GeometricShape,
|
||||
getPolygonShape,
|
||||
} from "../../utils/geometry/shape";
|
||||
} from "@excalidraw/utils";
|
||||
import { isPointInShape, isPointOnShape } from "@excalidraw/utils";
|
||||
import { isTransparent } from "../utils";
|
||||
import {
|
||||
|
||||
@@ -17,12 +17,8 @@ import {
|
||||
import { AppState, Device, Zoom } from "../types";
|
||||
import { Bounds, getElementAbsoluteCoords } from "./bounds";
|
||||
import { SIDE_RESIZING_THRESHOLD } from "../constants";
|
||||
import {
|
||||
angleToDegrees,
|
||||
pointOnLine,
|
||||
pointRotate,
|
||||
} from "../../utils/geometry/geometry";
|
||||
import { Line, Point } from "../../utils/geometry/shape";
|
||||
import { angleToDegrees, pointOnLine, pointRotate } from "@excalidraw/utils";
|
||||
import { Line, Point } from "@excalidraw/utils";
|
||||
import { isLinearElement } from "./typeChecks";
|
||||
|
||||
const isInsideTransformHandle = (
|
||||
|
||||
@@ -2,3 +2,5 @@ export * from "./export";
|
||||
export * from "./withinBounds";
|
||||
export * from "./bbox";
|
||||
export * from "./collision";
|
||||
export * from "./geometry/shape";
|
||||
export * from "./geometry/geometry";
|
||||
|
||||
Reference in New Issue
Block a user