mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:53:23 +08:00
Merge pull request #8862 from iiSaLMaN/fix-potential-nullref
Fix null reference while hiding toolbar on tests
This commit is contained in:
commit
febdb15d70
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user