svgdotjs / svg.js

The lightweight library for manipulating and animating SVG
https://svgjs.dev
Other
11.01k stars 1.07k forks source link

After using the animation many times, the trajectory of the animation is not correct #1187

Closed heianqishizhisuiyuan closed 11 months ago

heianqishizhisuiyuan commented 3 years ago

Here's a chunk of code that animates a polygon:

https://codepen.io/heianqishizhisuiyuan/pen/GRjzeGq?editors=1111

when i first click the small polygon, the trajectory of the animation is right, when i second click the small polygon, t the trajectory of the animation is not correct

Fuzzyma commented 11 months ago

cant reproduce. looks beatiful to me!