js-svg-path
js-svg-path copied to clipboard
Switcheroo bug when parsing horizontal line with offset
When parsing horizontal line and there's offset set (case when xoffset != yoffset
) results in weird output because yoffset
is added to the x
coordinate instead of xoffset
.
https://github.com/Pomax/js-svg-path/blob/b6c0e5c566fd3853348f912f85e688838300593d/svg-parser.js#L66