Skip to content

Commit

Permalink
Merge pull request #4452 from bdaenen/master
Browse files Browse the repository at this point in the history
Fixes #3833
  • Loading branch information
photonstorm committed Apr 5, 2019
2 parents 0724250 + 35b1beb commit 4074c51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cameras/2d/effects/Fade.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var Fade = new Class({

/**
* Has this effect finished running?
*
*
* This is different from `isRunning` because it remains set to `true` when the effect is over,
* until the effect is either reset or started again.
*
Expand Down Expand Up @@ -265,6 +265,7 @@ var Fade = new Class({
}
else
{
this.alpha = (this.direction) ? 1 : 0;
this.effectComplete();
}
},
Expand Down

0 comments on commit 4074c51

Please sign in to comment.