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:
parent
aa9d85624d
commit
a8deb4ff50
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user