Hi,
in my case the animations were not that smooth sometimes, so I replaced the setTimeout with TweenMax's "tick" Event. Since it uses animation frames my tweens are animating smoother now.
var tickHandler = function() {
if (didScrollCheck) {
checkScrollAnim();
didScrollCheck = false;
}
};
Hi, in my case the animations were not that smooth sometimes, so I replaced the setTimeout with TweenMax's "tick" Event. Since it uses animation frames my tweens are animating smoother now.
var tickHandler = function() { if (didScrollCheck) { checkScrollAnim(); didScrollCheck = false; } };
TweenLite.ticker.addEventListener("tick", tickHandler);