Syncing ephemeral element updates

This commit is contained in:
Marcel Mraz
2025-01-20 15:07:37 +01:00
parent c57249481e
commit 310a9ae4e0
60 changed files with 1104 additions and 906 deletions

View File

@@ -1,4 +1,4 @@
import { StoreAction } from "../../packages/excalidraw";
import { SnapshotAction } from "../../packages/excalidraw";
import { compressData } from "../../packages/excalidraw/data/encode";
import { newElementWith } from "../../packages/excalidraw/element/mutateElement";
import { isInitializedImageElement } from "../../packages/excalidraw/element/typeChecks";
@@ -268,6 +268,6 @@ export const updateStaleImageStatuses = (params: {
}
return element;
}),
storeAction: StoreAction.UPDATE,
snapshotAction: SnapshotAction.UPDATE,
});
};