mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Fixes #3833
This commit is contained in:
parent
4d660f2f51
commit
35b1beb6a7
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
*
|
||||
|
@ -265,6 +265,7 @@ var Fade = new Class({
|
|||
}
|
||||
else
|
||||
{
|
||||
this.alpha = (this.direction) ? 1 : 0;
|
||||
this.effectComplete();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue