mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
c9d5ec9277
commit
c0dd870c6e
33 changed files with 660 additions and 358 deletions
|
@ -13,6 +13,7 @@ export const getDefaultAppState = (): Omit<
|
|||
"offsetTop" | "offsetLeft"
|
||||
> => {
|
||||
return {
|
||||
appearance: "light",
|
||||
isLoading: false,
|
||||
errorMessage: null,
|
||||
draggingElement: null,
|
||||
|
@ -83,6 +84,7 @@ const APP_STATE_STORAGE_CONF = (<
|
|||
>(
|
||||
config: { [K in keyof T]: K extends keyof AppState ? T[K] : never },
|
||||
) => config)({
|
||||
appearance: { browser: true, export: false },
|
||||
collaborators: { browser: false, export: false },
|
||||
currentItemBackgroundColor: { browser: true, export: false },
|
||||
currentItemFillStyle: { browser: true, export: false },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue