fix: proper scaling (none) for fancyBackground in svg export

This commit is contained in:
Arnošt Pleskot 2023-08-30 09:57:23 +02:00
parent 8ac95a713b
commit 95baf540f2
No known key found for this signature in database
2 changed files with 30 additions and 20 deletions

View file

@ -297,8 +297,10 @@ export const exportToSvg = async (
svgRoot,
fancyBackgroundImageKey: `${appState.fancyBackgroundImageKey}`,
backgroundColor: viewBackgroundColor,
dimensions: { width, height },
exportScale,
canvasDimensions: {
width,
height,
},
theme: appState.exportWithDarkMode ? THEME.DARK : THEME.LIGHT,
contentSize,
includeLogo: true,