mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Fade the options overlay to prevent unnecessary updates to its content.
This commit is contained in:
Submodule osu-framework updated: beddb830a2...4c8683bcfc
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user