mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
restore elements on load from firebase (#2269)
This commit is contained in:
parent
46c421ee26
commit
915bda9fd8
2 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ const restoreElementWithProperties = <T extends ExcalidrawElement>(
|
|||
// newly added elements
|
||||
version: element.version || 1,
|
||||
versionNonce: element.versionNonce ?? 0,
|
||||
isDeleted: false,
|
||||
isDeleted: element.isDeleted ?? false,
|
||||
id: element.id || randomId(),
|
||||
fillStyle: element.fillStyle || "hachure",
|
||||
strokeWidth: element.strokeWidth || 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue