From a8deb4ff50d0b82b45271bfc1e6c593d46e8dd43 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 4 Mar 2017 19:02:13 +0900 Subject: [PATCH] Fix WaveOverlayContainer always being visible. --- osu.Game/Overlays/WaveOverlayContainer.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osu.Game/Overlays/WaveOverlayContainer.cs b/osu.Game/Overlays/WaveOverlayContainer.cs index fba6244d15..8c9c6a9943 100644 --- a/osu.Game/Overlays/WaveOverlayContainer.cs +++ b/osu.Game/Overlays/WaveOverlayContainer.cs @@ -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