mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Fix WaveOverlayContainer always being present
This commit is contained in:
@ -25,13 +25,20 @@ namespace osu.Game.Overlays
|
|||||||
protected override void PopIn()
|
protected override void PopIn()
|
||||||
{
|
{
|
||||||
base.PopIn();
|
base.PopIn();
|
||||||
|
|
||||||
Waves.Show();
|
Waves.Show();
|
||||||
|
|
||||||
|
this.FadeIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void PopOut()
|
protected override void PopOut()
|
||||||
{
|
{
|
||||||
base.PopOut();
|
base.PopOut();
|
||||||
|
|
||||||
Waves.Hide();
|
Waves.Hide();
|
||||||
|
|
||||||
|
// this is required or we will remain present even though our waves are hidden.
|
||||||
|
this.Delay(WaveContainer.DISAPPEAR_DURATION).FadeOut();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user