1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 13:33:52 +08:00

Fix WaveOverlayContainer always being visible.

This commit is contained in:
Dean Herbert 2017-03-04 19:02:13 +09:00
parent aa9d85624d
commit a8deb4ff50
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -135,6 +135,8 @@ namespace osu.Game.Overlays
contentContainer.FadeIn(APPEAR_DURATION, EasingTypes.OutQuint);
contentContainer.MoveToY(0, APPEAR_DURATION, EasingTypes.OutQuint);
FadeIn(100, EasingTypes.OutQuint);
}
protected override void PopOut()
@ -146,6 +148,8 @@ namespace osu.Game.Overlays
foreach (var w in wavesContainer.Children)
w.State = Visibility.Hidden;
FadeOut(DISAPPEAR_DURATION, EasingTypes.InQuint);
}
private class Wave : Container, IStateful<Visibility>