mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-12-04 18:35:30 +03:00
add history.shouldCreateEntry resolver (#1622)
This commit is contained in:
1 parent
22f7945c70
commit
d2ae18995c
11 files changed
+1349
-3449
No files matched your search
@@ -74,6 +74,7 @@ export const restore = (
|
||||
// all elements must have version > 0 so getDrawingVersion() will pick up newly added elements
|
||||
version: element.version || 1,
|
||||
id: element.id || randomId(),
|
||||
isDeleted: false,
|
||||
fillStyle: element.fillStyle || "hachure",
|
||||
strokeWidth: element.strokeWidth || 1,
|
||||
strokeStyle: element.strokeStyle ?? "solid",
|
||||
|
||||
Reference in new issue
Block a user