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() protected override void PopIn()
{ {
MoveToX(0, 300, EasingTypes.Out); MoveToX(0, 300, EasingTypes.Out);
FadeTo(1, 300);
} }
protected override void PopOut() protected override void PopOut()
{ {
MoveToX(-width, 300, EasingTypes.Out); MoveToX(-width, 300, EasingTypes.Out);
FadeTo(0, 300);
} }
} }
} }