mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix history - the 2nd installment (#1014)
* don't regenerate versionNonce on pushEntry * fix history handling around multi-point arrows * remove filtering from getElementMap helper
This commit is contained in:
parent
1d393a4ea0
commit
fda06e4fc3
4 changed files with 37 additions and 13 deletions
|
@ -332,7 +332,7 @@ export class App extends React.Component<any, AppState> {
|
|||
}
|
||||
|
||||
return elements;
|
||||
}, [] as any)
|
||||
}, [] as Mutable<typeof restoredState.elements>)
|
||||
// add local elements that weren't deleted or on remote
|
||||
.concat(...Object.values(localElementMap)),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue