1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 10:07:36 +08:00

Fade the options overlay to prevent unnecessary updates to its content.

This commit is contained in:
Thomas Müller 2016-11-06 08:54:36 +01:00
parent a6c0fd29f2
commit 8894e5f73a
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit beddb830a23b40fe970892e4c84339871e202034
Subproject commit 4c8683bcfc024d7c341f3e7bb20661d241f50d0c

View File

@ -101,11 +101,13 @@ namespace osu.Game.Overlays
protected override void PopIn()
{
MoveToX(0, 300, EasingTypes.Out);
FadeTo(1, 300);
}
protected override void PopOut()
{
MoveToX(-width, 300, EasingTypes.Out);
FadeTo(0, 300);
}
}
}