mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
update remaining paths to use utils workspace
This commit is contained in:
parent
927e36c7b4
commit
53a0428705
5 changed files with 8 additions and 10 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue