fix: Refactor and merge duplication and binding (#9246)

This commit is contained in:
Márk Tolmács
2025-03-23 18:39:33 +01:00
committed by GitHub
parent 58990b41ae
commit 77aca48c84
29 changed files with 1293 additions and 1085 deletions

View File

@@ -6,7 +6,6 @@ import {
} from "./constants";
import { createFile, isSupportedImageFileType } from "./data/blob";
import { mutateElement } from "./element/mutateElement";
import { deepCopyElement } from "./element/newElement";
import {
isFrameLikeElement,
isInitializedImageElement,
@@ -15,6 +14,8 @@ import { ExcalidrawError } from "./errors";
import { getContainingFrame } from "./frame";
import { arrayToMap, isMemberOf, isPromiseLike } from "./utils";
import { deepCopyElement } from "./element/duplicate";
import type { Spreadsheet } from "./charts";
import type {
ExcalidrawElement,