mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix many syncing issues (#952)
This commit is contained in:
parent
b20d4539c0
commit
3f8144ef85
15 changed files with 176 additions and 100 deletions
|
@ -13,6 +13,11 @@ export class SceneHistory {
|
|||
private stateHistory: string[] = [];
|
||||
private redoStack: string[] = [];
|
||||
|
||||
clear() {
|
||||
this.stateHistory.length = 0;
|
||||
this.redoStack.length = 0;
|
||||
}
|
||||
|
||||
private generateEntry(
|
||||
appState: AppState,
|
||||
elements: readonly ExcalidrawElement[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue