Closed psyrendust closed 5 years ago
If you happen to have a path with fill:none; and it does not contain a close path command ('z') the color2color function will return [0, 0, 0, 0] (black with 0 alpha), which will turn the path into a shape when it was meant to be drawn as a line.
fill:none;
close path
color2color
[0, 0, 0, 0]
<path style="fill:none;stroke:#FDFEFF;stroke-width:86;stroke-linejoin:round;stroke-miterlimit:10;" d="M799.2-67c0,0,3,1494.1,3,1548.2s-2.7,123.1,19.8,169.6 c22.5,46.5,66,94.5,66,175.5s-24,154.5-24,154.5"/>
This PR fixes open paths for my project. Can it be merged?
If you happen to have a path with
fill:none;
and it does not contain aclose path
command ('z') thecolor2color
function will return[0, 0, 0, 0]
(black with 0 alpha), which will turn the path into a shape when it was meant to be drawn as a line.