mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fix fill of looping lines in exported SVG (#1396)
This commit is contained in:
parent
038cff8793
commit
8b805d436f
1 changed files with 3 additions and 0 deletions
|
@ -426,6 +426,9 @@ export function renderElementToSvg(
|
|||
offsetY || 0
|
||||
}) rotate(${degree} ${cx} ${cy})`,
|
||||
);
|
||||
if (element.type === "line") {
|
||||
node.setAttribute("fill-rule", "evenodd");
|
||||
}
|
||||
group.appendChild(node);
|
||||
});
|
||||
svgRoot.appendChild(group);
|
||||
|
|
Loading…
Add table
Reference in a new issue