mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-23 09:21:00 +02:00
add @excalidraw/utils to external and fixes
This commit is contained in:
@@ -26,7 +26,7 @@ import {
|
||||
|
||||
import { getElementAbsoluteCoords } from "./bounds";
|
||||
import { AppClassProperties, AppState, Point } from "../types";
|
||||
import { isPointOnShape } from "../../utils/collision";
|
||||
import { isPointOnShape } from "@excalidraw/utils";
|
||||
import { getElementAtPosition } from "../scene";
|
||||
import {
|
||||
isArrowElement,
|
||||
|
@@ -13,7 +13,7 @@ import {
|
||||
GeometricShape,
|
||||
getPolygonShape,
|
||||
} from "../../utils/geometry/shape";
|
||||
import { isPointInShape, isPointOnShape } from "../../utils/collision";
|
||||
import { isPointInShape, isPointOnShape } from "@excalidraw/utils";
|
||||
import { isTransparent } from "../utils";
|
||||
import {
|
||||
hasBoundTextElement,
|
||||
|
@@ -59,7 +59,7 @@
|
||||
"@braintree/sanitize-url": "6.0.2",
|
||||
"@excalidraw/laser-pointer": "1.3.1",
|
||||
"@excalidraw/mermaid-to-excalidraw": "0.3.0",
|
||||
"@excalidraw/utils": "workspace:^",
|
||||
"@excalidraw/utils": "*",
|
||||
"@excalidraw/random-username": "1.1.0",
|
||||
"@radix-ui/react-popover": "1.0.3",
|
||||
"@radix-ui/react-tabs": "1.0.2",
|
||||
|
@@ -171,6 +171,8 @@ export const exportToSvg = async ({
|
||||
exportPadding?: number;
|
||||
renderEmbeddables?: boolean;
|
||||
}): Promise<SVGSVGElement> => {
|
||||
console.log("HIIII TGEREE122");
|
||||
|
||||
const { elements: restoredElements, appState: restoredAppState } = restore(
|
||||
{ elements, appState },
|
||||
null,
|
||||
|
@@ -1,3 +1,4 @@
|
||||
export * from "./export";
|
||||
export * from "./withinBounds";
|
||||
export * from "./bbox";
|
||||
export * from "./collision";
|
||||
|
Reference in New Issue
Block a user