|
@@ -426,7 +426,11 @@ export function renderElementToSvg(
|
|
|
offsetY || 0
|
|
|
}) rotate(${degree} ${cx} ${cy})`,
|
|
|
);
|
|
|
- if (element.type === "line") {
|
|
|
+ if (
|
|
|
+ element.type === "line" &&
|
|
|
+ isPathALoop(element.points) &&
|
|
|
+ element.backgroundColor !== "transparent"
|
|
|
+ ) {
|
|
|
node.setAttribute("fill-rule", "evenodd");
|
|
|
}
|
|
|
group.appendChild(node);
|