Fix depth values.

This commit is contained in:
Thomas Müller
2016-11-29 20:50:12 +01:00
parent 53df2932ad
commit b12b82fdd3
15 changed files with 19 additions and 19 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Screens.Backgrounds
float newDepth = 0;
if (background != null)
{
newDepth = background.Depth - 1;
newDepth = background.Depth + 1;
background.Flush();
background.FadeOut(250);
background.Expire();