mirror of
https://github.com/ppy/osu
synced 2025-01-22 05:43:14 +00:00
Don't return overlay to null until it has been completely hidden
This commit is contained in:
parent
54fa725309
commit
8eefd04fcb
@ -126,8 +126,7 @@ namespace osu.Game.Overlays
|
||||
base.PopOut();
|
||||
header.Details.StopPreview();
|
||||
|
||||
FadeEdgeEffectTo(0, WaveContainer.DISAPPEAR_DURATION, Easing.Out);
|
||||
BeatmapSet = null;
|
||||
FadeEdgeEffectTo(0, WaveContainer.DISAPPEAR_DURATION, Easing.Out).OnComplete(_ => BeatmapSet = null);
|
||||
}
|
||||
|
||||
protected override bool OnClick(InputState state)
|
||||
|
Loading…
Reference in New Issue
Block a user