From daf91fa3182ac60a3cfe31cb79e59cc8e70bd3b1 Mon Sep 17 00:00:00 2001 From: Marcel Mraz Date: Mon, 24 Mar 2025 14:43:04 +0100 Subject: [PATCH] Fix utils bundle --- packages/excalidraw/data/restore.ts | 4 ++-- packages/utils/src/export.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/excalidraw/data/restore.ts b/packages/excalidraw/data/restore.ts index 21dfbad95..d1002e61f 100644 --- a/packages/excalidraw/data/restore.ts +++ b/packages/excalidraw/data/restore.ts @@ -43,6 +43,8 @@ import { refreshTextDimensions } from "@excalidraw/element/newElement"; import { getNormalizedDimensions } from "@excalidraw/element/sizeHelpers"; +import { isInvisiblySmallElement } from "@excalidraw/element/sizeHelpers"; + import type { LocalPoint, Radians } from "@excalidraw/math"; import type { @@ -71,8 +73,6 @@ import { getNormalizedZoom, } from "../scene"; -import { isInvisiblySmallElement } from ".."; - import type { AppState, BinaryFiles, LibraryItem } from "../types"; import type { ImportedDataState, LegacyAppState } from "./types"; diff --git a/packages/utils/src/export.ts b/packages/utils/src/export.ts index 315fd599c..4559fe1af 100644 --- a/packages/utils/src/export.ts +++ b/packages/utils/src/export.ts @@ -1,10 +1,10 @@ +import { MIME_TYPES } from "@excalidraw/common"; import { getDefaultAppState } from "@excalidraw/excalidraw/appState"; import { copyBlobToClipboardAsPng, copyTextToSystemClipboard, copyToClipboard, } from "@excalidraw/excalidraw/clipboard"; -import { MIME_TYPES } from "@excalidraw/common"; import { encodePngMetadata } from "@excalidraw/excalidraw/data/image"; import { serializeAsJSON } from "@excalidraw/excalidraw/data/json"; import { restore } from "@excalidraw/excalidraw/data/restore";