fix: padding in preview

This commit is contained in:
Arnošt Pleskot 2023-08-16 16:46:50 +02:00
parent f096841add
commit 8b86ef4c60
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -113,6 +113,7 @@ const ImageExportModal = ({
})
: elements;
//FIXME: this is broken by fix for padding in export preview
useEffect(() => {
if (
exportedElements.length > 0 &&

View File

@ -104,7 +104,7 @@ export const exportToCanvas = async (
canvas,
fancyBackgroundImageKey: appState.fancyBackgroundImageKey,
backgroundColor: viewBackgroundColor,
exportScale: appState.exportScale,
exportScale: scale,
theme: renderConfig.theme,
});
}