1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 23:42:01 +08:00

Merge pull request #8862 from iiSaLMaN/fix-potential-nullref

Fix null reference while hiding toolbar on tests
This commit is contained in:
Dean Herbert
2020-04-25 16:55:17 +09:00
committed by GitHub
Unverified
+1 -1
View File
@@ -148,7 +148,7 @@ namespace osu.Game.Overlays.Toolbar
protected override void PopOut()
{
userButton?.StateContainer.Hide();
userButton.StateContainer?.Hide();
this.MoveToY(-DrawSize.Y, transition_time, Easing.OutQuint);
this.FadeOut(transition_time);