mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Remove mutators, pass scene everywhere, make temp scenes for special cases
This commit is contained in:
parent
567c9f51e4
commit
acfa33650e
33 changed files with 177 additions and 266 deletions
|
@ -577,12 +577,8 @@ export const textWysiwyg = ({
|
|||
),
|
||||
});
|
||||
}
|
||||
redrawTextBoundingBox(
|
||||
updateElement,
|
||||
container,
|
||||
app.scene.getNonDeletedElementsMap(),
|
||||
(...args) => app.scene.mutate(...args),
|
||||
);
|
||||
|
||||
redrawTextBoundingBox(updateElement, container, app.scene);
|
||||
}
|
||||
|
||||
onSubmit({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue