Fix fill of looping lines in exported SVG (#1396)
This commit is contained in:
parent
038cff8793
commit
8b805d436f
@ -426,6 +426,9 @@ export function renderElementToSvg(
|
|||||||
offsetY || 0
|
offsetY || 0
|
||||||
}) rotate(${degree} ${cx} ${cy})`,
|
}) rotate(${degree} ${cx} ${cy})`,
|
||||||
);
|
);
|
||||||
|
if (element.type === "line") {
|
||||||
|
node.setAttribute("fill-rule", "evenodd");
|
||||||
|
}
|
||||||
group.appendChild(node);
|
group.appendChild(node);
|
||||||
});
|
});
|
||||||
svgRoot.appendChild(group);
|
svgRoot.appendChild(group);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user