fix: padding in preview
This commit is contained in:
parent
f096841add
commit
8b86ef4c60
@ -113,6 +113,7 @@ const ImageExportModal = ({
|
||||
})
|
||||
: elements;
|
||||
|
||||
//FIXME: this is broken by fix for padding in export preview
|
||||
useEffect(() => {
|
||||
if (
|
||||
exportedElements.length > 0 &&
|
||||
|
@ -104,7 +104,7 @@ export const exportToCanvas = async (
|
||||
canvas,
|
||||
fancyBackgroundImageKey: appState.fancyBackgroundImageKey,
|
||||
backgroundColor: viewBackgroundColor,
|
||||
exportScale: appState.exportScale,
|
||||
exportScale: scale,
|
||||
theme: renderConfig.theme,
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user