_Tron_
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by _Tron_
-
-
I was just playing around and for some reason, even though I kill all tweens after the mouse leaves the element, it slows down the tween over time...
http://jsfiddle.net/Lightning_II/A6jRp/17/
I realize somehow its stacking or the tween is conflicting with itself but shouldn't the kill stop it from doing that?
$(".category").hover( function(){ TweenMax.to($(this), .2, {autoAlpha:1}); TweenMax.to($(this).parent().children(".region-icon"), 2, {rotation:"360_cc", ease:"Linear.easeNone",repeat:-1}); }, function(){ TweenMax.to($(this), .2, {autoAlpha:.8}); TweenMax.killTweensOf($(this).parent().children(".region-icon")); });
tween slowing down after multiple mouseenter/leave events
in GSAP
Posted
Ah! Thank you so much! I should have realized that simple mistake.