mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 23:42:55 +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()
|
protected override void PopOut()
|
||||||
{
|
{
|
||||||
userButton?.StateContainer.Hide();
|
userButton.StateContainer?.Hide();
|
||||||
|
|
||||||
this.MoveToY(-DrawSize.Y, transition_time, Easing.OutQuint);
|
this.MoveToY(-DrawSize.Y, transition_time, Easing.OutQuint);
|
||||||
this.FadeOut(transition_time);
|
this.FadeOut(transition_time);
|
||||||
|
Loading…
Reference in New Issue
Block a user