fix: returned initial appState, added missing constant
This commit is contained in:
parent
8b9dd3c422
commit
13ea98e2e5
@ -66,7 +66,7 @@ export const getDefaultAppState = (): Omit<
|
|||||||
openMenu: null,
|
openMenu: null,
|
||||||
openPopup: null,
|
openPopup: null,
|
||||||
openSidebar: null,
|
openSidebar: null,
|
||||||
openDialog: "imageExport",
|
openDialog: null,
|
||||||
pasteDialog: { shown: false, data: null },
|
pasteDialog: { shown: false, data: null },
|
||||||
previousSelectedElementIds: {},
|
previousSelectedElementIds: {},
|
||||||
resizingElement: null,
|
resizingElement: null,
|
||||||
@ -95,7 +95,7 @@ export const getDefaultAppState = (): Omit<
|
|||||||
pendingImageElementId: null,
|
pendingImageElementId: null,
|
||||||
showHyperlinkPopup: false,
|
showHyperlinkPopup: false,
|
||||||
selectedLinearElement: null,
|
selectedLinearElement: null,
|
||||||
fancyBackgroundImageKey: "bubbles",
|
fancyBackgroundImageKey: DEFAULT_FANCY_BACKGROUND_IMAGE,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -246,6 +246,7 @@ export const FANCY_BG_BORDER_RADIUS = 12; // px
|
|||||||
export const FANCY_BG_LOGO_PADDING = 20; // px
|
export const FANCY_BG_LOGO_PADDING = 20; // px
|
||||||
export const FANCY_BG_LOGO_BOTTOM_PADDING = 12; // px
|
export const FANCY_BG_LOGO_BOTTOM_PADDING = 12; // px
|
||||||
export const FANCY_BG_INCLUDE_LOGO = true;
|
export const FANCY_BG_INCLUDE_LOGO = true;
|
||||||
|
export const FANCY_BG_STRETCH_CONTENT_BACKGROUND = true;
|
||||||
export const DEFAULT_FANCY_BACKGROUND_RATIO: Dimensions = {
|
export const DEFAULT_FANCY_BACKGROUND_RATIO: Dimensions = {
|
||||||
width: 16,
|
width: 16,
|
||||||
height: 9,
|
height: 9,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user