mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 22:06:08 +08:00
Add base.PopOut calls to allow for passing away focus.
This commit is contained in:
parent
30bec0876d
commit
0937424e0c
@ -72,6 +72,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
protected override void PopOut()
|
protected override void PopOut()
|
||||||
{
|
{
|
||||||
|
base.PopOut();
|
||||||
|
|
||||||
optionsSection.Bounding = false;
|
optionsSection.Bounding = false;
|
||||||
FadeOut(transition_time);
|
FadeOut(transition_time);
|
||||||
}
|
}
|
||||||
|
@ -170,6 +170,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
protected override void PopOut()
|
protected override void PopOut()
|
||||||
{
|
{
|
||||||
|
base.PopOut();
|
||||||
|
|
||||||
scrollContainer.MoveToX(-width, TRANSITION_LENGTH, EasingTypes.OutQuint);
|
scrollContainer.MoveToX(-width, TRANSITION_LENGTH, EasingTypes.OutQuint);
|
||||||
sidebar.MoveToX(-SIDEBAR_WIDTH, TRANSITION_LENGTH, EasingTypes.OutQuint);
|
sidebar.MoveToX(-SIDEBAR_WIDTH, TRANSITION_LENGTH, EasingTypes.OutQuint);
|
||||||
FadeTo(0, TRANSITION_LENGTH / 2);
|
FadeTo(0, TRANSITION_LENGTH / 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user