Closed
Description
The y2 property on an SVG line element doesn't animate correctly. The other properties work correctly - this is due to a typo here: https://github.com/julianshapiro/velocity/blob/master/jquery.velocity.js#L1056
The offending line:
var SVGAttributes = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y1";
should be:
var SVGAttributes = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";
(Note the y1
-> y2
at the end)
Activity