mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:23:22 +08:00
Make skin editor overlay dependency nullable to fix tests
This commit is contained in:
parent
3f48f4acdf
commit
7e3bb5f8db
@ -29,7 +29,7 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
private IPerformFromScreenRunner? performer { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private SkinEditorOverlay skinEditorOverlay { get; set; } = null!;
|
||||
private SkinEditorOverlay? skinEditorOverlay { get; set; }
|
||||
|
||||
public SkinEditorSceneLibrary()
|
||||
{
|
||||
@ -86,7 +86,7 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
Text = SkinEditorStrings.Gameplay,
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
Action = () => skinEditorOverlay.PresentGameplay(),
|
||||
Action = () => skinEditorOverlay?.PresentGameplay(),
|
||||
},
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user