mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: SVG export in dark mode with embedded bitmap image (#4285)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
620b662085
commit
b6ef953dc9
3 changed files with 18 additions and 5 deletions
|
@ -158,6 +158,7 @@ export const exportToSvg = async (
|
|||
renderSceneToSvg(elements, rsvg, svgRoot, files || {}, {
|
||||
offsetX: -minX + exportPadding,
|
||||
offsetY: -minY + exportPadding,
|
||||
exportWithDarkMode: appState.exportWithDarkMode,
|
||||
});
|
||||
|
||||
return svgRoot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue