reanimate / reanimate-svg

BSD 3-Clause "New" or "Revised" License
4 stars 8 forks source link

Fix renderTree losing the id from RadialGradient and LinearGradient nodes #38

Closed Glidos closed 2 years ago

Glidos commented 2 years ago

The serializeTreeNode implementation for RadientGradient nodes was based on genericSerializeNode when it should have been based on genericSerializeWithDrawAttr

Glidos commented 2 years ago

The force push was to handle also LinearGradient nodes, which suffered from the same typo. No other node type is affected, so this concludes the fix.