mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-17 22:40:54 +02:00
feat: resize canvas to aspect ratio when exporting with fancy bcg
This commit is contained in:
@@ -186,7 +186,11 @@ const ImageExportModal = ({
|
||||
appState,
|
||||
files,
|
||||
exportPadding: DEFAULT_EXPORT_PADDING,
|
||||
maxWidthOrHeight,
|
||||
maxWidthOrHeight: !(
|
||||
exportBackgroundImage !== "solid" && exportWithBackground
|
||||
)
|
||||
? maxWidthOrHeight
|
||||
: undefined,
|
||||
})
|
||||
.then((canvas) => {
|
||||
setRenderError(null);
|
||||
|
Reference in New Issue
Block a user