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