mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:43:20 +08:00
smoother transition
This commit is contained in:
parent
c73fbe6e42
commit
36049cc493
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user