Skip to content

Commit

Permalink
Merge pull request #152 from insanio/0.6-stable
Browse files Browse the repository at this point in the history
Fix fade animation for transparent png's
  • Loading branch information
nicinabox committed Sep 11, 2013
2 parents 2f7360b + 666e857 commit ba8ef88
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/fx.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,14 @@ var fx = {

$target.css({
left: this.width,
opacity: 1,
opacity: 0,
display: 'block'
});
}).animate({
opacity: 1
},
that.options.animation_speed,
that.options.animation_easing
);

if (orientation.outgoing_slide >= 0) {
$outgoing.animate({
Expand Down

0 comments on commit ba8ef88

Please sign in to comment.