feat: separate fancyBackground from renderScene

This commit is contained in:
Arnošt Pleskot 2023-08-10 17:40:29 +02:00
parent 3c56efb9fe
commit d6515e26b9
No known key found for this signature in database
6 changed files with 174 additions and 15 deletions

View file

@ -72,7 +72,7 @@ export const getDefaultAppState = (): Omit<
openMenu: null,
openPopup: null,
openSidebar: null,
openDialog: null,
openDialog: "imageExport",
pasteDialog: { shown: false, data: null },
previousSelectedElementIds: {},
resizingElement: null,
@ -101,7 +101,7 @@ export const getDefaultAppState = (): Omit<
pendingImageElementId: null,
showHyperlinkPopup: false,
selectedLinearElement: null,
exportBackgroundImage:
fancyBackgroundImageUrl:
EXPORT_BACKGROUND_IMAGES[DEFAULT_EXPORT_BACKGROUND_IMAGE].path,
};
};