mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Expose scene.mutateElement and use original mutateElement
This commit is contained in:
parent
11600ee6a6
commit
2e4ca2d11a
44 changed files with 249 additions and 260 deletions
|
@ -62,7 +62,7 @@ describe("duplicating single elements", () => {
|
|||
// @ts-ignore
|
||||
element.__proto__ = { hello: "world" };
|
||||
|
||||
h.app.scene.mutate(element, {
|
||||
h.app.scene.mutateElement(element, {
|
||||
points: [pointFrom<LocalPoint>(1, 2), pointFrom<LocalPoint>(3, 4)],
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue