fix: preview size when maxWidthOrHeight is hit
This commit is contained in:
@@ -186,11 +186,7 @@ const ImageExportModal = ({
|
||||
appState,
|
||||
files,
|
||||
exportPadding: DEFAULT_EXPORT_PADDING,
|
||||
maxWidthOrHeight: !(
|
||||
exportBackgroundImage !== "solid" && exportWithBackground
|
||||
)
|
||||
? maxWidthOrHeight
|
||||
: undefined,
|
||||
maxWidthOrHeight,
|
||||
})
|
||||
.then((canvas) => {
|
||||
setRenderError(null);
|
||||
|
||||
Reference in New Issue
Block a user