juliangarnier / anime

JavaScript animation engine
https://animejs.com
MIT License
50.4k stars 3.68k forks source link

seek not trigger update #814

Open lichspace opened 2 years ago

lichspace commented 2 years ago

Describe the bug as title

To Reproduce Steps to reproduce the behavior:

see demo: https://codepen.io/lichcoder/pen/PomjOzN

Expected behavior refresh page console "update" three times

https://github.com/juliangarnier/anime/blob/master/src/index.js#L1023

i find the resion:

seek(0) instance.currentTime === 0 not update seek(1) !began === true not update seek(2) update