1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 08:43:20 +08:00

smoother transition

This commit is contained in:
n4b3l 2016-12-17 20:29:20 +01:00
parent c73fbe6e42
commit 36049cc493

View File

@ -149,14 +149,14 @@ namespace osu.Game.Screens.Play
base.OnEntering(last);
(Background as BackgroundModeBeatmap)?.BlurTo(Vector2.Zero, 1000);
Background?.FadeTo((100f- dimLevel)/100,1000);
Background?.FadeTo((100f- dimLevel)/100, 1000);
Content.Alpha = 0;
}
protected override bool OnExiting(GameMode next)
{
Background?.FadeTo(1f, 0);
Background?.FadeTo(1f, 200);
return base.OnExiting(next);
}