draggable icon indicating copy to clipboard operation
draggable copied to clipboard

requestAnimationFrame的自己实现,貌似有点小错误

Open jaymi1002 opened this issue 7 years ago • 0 comments

源码中Math.max(16 - now - lastTime, 0);这个值一直都是0,16 - now - lastTime一直是负数。 所以正常的写法是不是应该是Math.max(16 - (now - lastTime), 0);

jaymi1002 avatar Dec 07 '17 07:12 jaymi1002