mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Use null check instead of assert in Hide()
due to public exposure
This commit is contained in:
parent
c5b7e97bd9
commit
4fd19cbb0d
@ -66,10 +66,8 @@ namespace osu.Game.Skinning.Editor
|
||||
|
||||
public override void Hide()
|
||||
{
|
||||
Debug.Assert(skinEditor != null);
|
||||
|
||||
// base call intentionally omitted.
|
||||
skinEditor.Hide();
|
||||
skinEditor?.Hide();
|
||||
}
|
||||
|
||||
public override void Show()
|
||||
|
Loading…
Reference in New Issue
Block a user