fix: SVG export in dark mode with embedded bitmap image (#4285)

Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
zsviczian
2021-11-20 15:31:51 +01:00
committed by GitHub
parent 620b662085
commit b6ef953dc9
3 changed files with 18 additions and 5 deletions

View File

@ -158,6 +158,7 @@ export const exportToSvg = async (
renderSceneToSvg(elements, rsvg, svgRoot, files || {}, {
offsetX: -minX + exportPadding,
offsetY: -minY + exportPadding,
exportWithDarkMode: appState.exportWithDarkMode,
});
return svgRoot;