wilderness icon indicating copy to clipboard operation
wilderness copied to clipboard

Not working: `{ type: "path", d: "..." }`

Open HatScripts opened this issue 3 years ago • 1 comments

https://codepen.io/HatScripts/pen/eYLqqLY

See the regular SVG on the left (#svg1), and the one generated by Wilderness on the right (#svg2).

They both have the same path specified with the d attribute, but the one made by Wilderness doesn't render as expected.

HatScripts avatar Apr 04 '23 08:04 HatScripts

I got it to work by using SVGPoints.toPath.

https://codepen.io/HatScripts/pen/wvYMWvm

HatScripts avatar Apr 13 '23 07:04 HatScripts