|
@@ -15,6 +15,7 @@ import {
|
|
import { AppState, BinaryFiles, Dimensions, ExportPadding } from "../types";
|
|
import { AppState, BinaryFiles, Dimensions, ExportPadding } from "../types";
|
|
import {
|
|
import {
|
|
DEFAULT_EXPORT_PADDING,
|
|
DEFAULT_EXPORT_PADDING,
|
|
|
|
+ DEFAULT_FANCY_BACKGROUND_RATIO,
|
|
FANCY_BACKGROUND_IMAGES,
|
|
FANCY_BACKGROUND_IMAGES,
|
|
FANCY_BG_INCLUDE_LOGO,
|
|
FANCY_BG_INCLUDE_LOGO,
|
|
SVG_NS,
|
|
SVG_NS,
|
|
@@ -89,7 +90,7 @@ export const exportToCanvas = async (
|
|
onlyExportingSingleFrame,
|
|
onlyExportingSingleFrame,
|
|
exportingWithFancyBackground,
|
|
exportingWithFancyBackground,
|
|
opts: {
|
|
opts: {
|
|
- aspectRatio: { width: 16, height: 9 },
|
|
|
|
|
|
+ aspectRatio: DEFAULT_FANCY_BACKGROUND_RATIO,
|
|
clipFrame: false,
|
|
clipFrame: false,
|
|
},
|
|
},
|
|
});
|
|
});
|
|
@@ -255,7 +256,7 @@ export const exportToSvg = async (
|
|
onlyExportingSingleFrame,
|
|
onlyExportingSingleFrame,
|
|
exportingWithFancyBackground,
|
|
exportingWithFancyBackground,
|
|
opts: {
|
|
opts: {
|
|
- aspectRatio: { width: 16, height: 9 },
|
|
|
|
|
|
+ aspectRatio: DEFAULT_FANCY_BACKGROUND_RATIO,
|
|
clipFrame: false,
|
|
clipFrame: false,
|
|
},
|
|
},
|
|
});
|
|
});
|