mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 22:35:23 +08:00
Fix potential null reference while hiding toolbar
This commit is contained in:
parent
fc706c19d7
commit
37cc1ed5a2
@ -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