mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-15 05:20:27 +02:00
fix: padding in preview
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user