mirror of https://github.com/ppy/osu
Fix WaveOverlayContainer staying visible when hidden.
This commit is contained in:
parent
9908c1905d
commit
463c887879
|
@ -134,7 +134,7 @@ protected override void PopIn()
|
|||
foreach (var w in wavesContainer.Children)
|
||||
w.State = Visibility.Visible;
|
||||
|
||||
contentContainer.FadeIn(APPEAR_DURATION, EasingTypes.OutQuint);
|
||||
FadeIn(100, EasingTypes.OutQuint);
|
||||
contentContainer.MoveToY(0, APPEAR_DURATION, EasingTypes.OutQuint);
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ protected override void PopOut()
|
|||
{
|
||||
base.PopOut();
|
||||
|
||||
contentContainer.FadeOut(DISAPPEAR_DURATION, EasingTypes.In);
|
||||
FadeOut(DISAPPEAR_DURATION, EasingTypes.InQuint);
|
||||
contentContainer.MoveToY(DrawHeight * 2f, DISAPPEAR_DURATION, EasingTypes.In);
|
||||
|
||||
foreach (var w in wavesContainer.Children)
|
||||
|
|
Loading…
Reference in New Issue