mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-07 09:36:58 +02:00
Fix many syncing issues (#952)
This commit is contained in:
@@ -52,7 +52,8 @@ export function restore(
|
||||
|
||||
return {
|
||||
...element,
|
||||
version: element.version || 0,
|
||||
// all elements must have version > 0 so getDrawingVersion() will pick up newly added elements
|
||||
version: element.version || 1,
|
||||
id: element.id || nanoid(),
|
||||
fillStyle: element.fillStyle || "hachure",
|
||||
strokeWidth: element.strokeWidth || 1,
|
||||
|
Reference in New Issue
Block a user