mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix restoring appState (#2182)
This commit is contained in:
parent
b2822f3538
commit
adb1ac5788
8 changed files with 74 additions and 49 deletions
|
@ -6,7 +6,15 @@ export interface DataState {
|
|||
version?: string;
|
||||
source?: string;
|
||||
elements: readonly ExcalidrawElement[];
|
||||
appState: MarkOptional<AppState, "offsetTop" | "offsetLeft"> | null;
|
||||
appState: MarkOptional<AppState, "offsetTop" | "offsetLeft">;
|
||||
}
|
||||
|
||||
export interface ImportedDataState {
|
||||
type?: string;
|
||||
version?: string;
|
||||
source?: string;
|
||||
elements?: DataState["elements"] | null;
|
||||
appState?: Partial<DataState["appState"]> | null;
|
||||
}
|
||||
|
||||
export interface LibraryData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue