naver / egjs-axes

A module used to change the information of user action entered by various input devices such as touch screen or mouse into the logical virtual coordinates.
https://naver.github.io/egjs-axes/
MIT License
179 stars 31 forks source link

fix: stopAnimation trigger finish event #203

Closed malangfox closed 2 years ago

malangfox commented 2 years ago

Details

This fixes an error where stopAnimation did not fire the finish event. Since stopAnimation of AnimationManager stops animation for all cases such as when hold state starts, finish should occur only when stopAnimation method of Axes instance is called.