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