mirror of https://github.com/ppy/osu
Focus trigger in WaveOverlayContainer
This commit is contained in:
parent
5a83687a27
commit
9141d244bf
|
@ -128,6 +128,8 @@ protected WaveOverlayContainer()
|
|||
|
||||
protected override void PopIn()
|
||||
{
|
||||
base.PopIn();
|
||||
|
||||
foreach (var w in wavesContainer.Children)
|
||||
w.State = Visibility.Visible;
|
||||
|
||||
|
@ -137,6 +139,8 @@ protected override void PopIn()
|
|||
|
||||
protected override void PopOut()
|
||||
{
|
||||
base.PopOut();
|
||||
|
||||
contentContainer.FadeOut(DISAPPEAR_DURATION, EasingTypes.In);
|
||||
contentContainer.MoveToY(DrawHeight * 2f, DISAPPEAR_DURATION, EasingTypes.In);
|
||||
|
||||
|
|
Loading…
Reference in New Issue