mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: freedraw element's background fill color missing from SVG when exporting with package API exportToSvg() (#4871)
This commit is contained in:
parent
6765fc16be
commit
1849ff6ee2
1 changed files with 1 additions and 0 deletions
|
@ -924,6 +924,7 @@ export const renderElementToSvg = (
|
|||
break;
|
||||
}
|
||||
case "freedraw": {
|
||||
generateElementShape(element, generator);
|
||||
generateFreeDrawShape(element);
|
||||
const opacity = element.opacity / 100;
|
||||
const shape = getShapeForElement(element);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue