Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ScreenFade): ensure alpha does not get locked at 1f
There was a bug where the alpha would not get set fully to 1f so a fix was introduced to force it to 1f if the alpha was over 0.98f. However, this created another bug where when the alpha should go from 1f to lower it would keep getting reset to 1f. This fix checks to see if the alpha is being changed up towards the 1f value before attempting to force the alpha to 1f above 0.98f.
- Loading branch information