mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:55:35 +08:00
Fade the options overlay to prevent unnecessary updates to its content.
This commit is contained in:
parent
a6c0fd29f2
commit
8894e5f73a
@ -1 +1 @@
|
||||
Subproject commit beddb830a23b40fe970892e4c84339871e202034
|
||||
Subproject commit 4c8683bcfc024d7c341f3e7bb20661d241f50d0c
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user