effects.bounce: Fixing hide bounce distance calculation

This commit is contained in:
gnarf 2011-05-03 08:51:53 -05:00
parent e8bece27ab
commit d5f6a71cfa

View File

@ -69,7 +69,7 @@ $.effects.effect.bounce = function(o) {
// start at the smallest distance if we are hiding
if ( hide ) {
distance = distance / ( ( times - 1 ) * 2 );
distance = distance / Math.pow( 2, times - 1 );
}
downAnim = {};