Don't return overlay to null until it has been completely hidden

This commit is contained in:
Dean Herbert 2018-04-20 12:47:23 +09:00
parent 54fa725309
commit 8eefd04fcb
1 changed files with 1 additions and 2 deletions

View File

@ -126,8 +126,7 @@ protected override void PopOut()
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)