mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
add @excalidraw/utils to external and fixes
This commit is contained in:
parent
6a1477a55c
commit
45ff9d1053
8 changed files with 9 additions and 9 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue