mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 12:45:09 +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; }
|
private IPerformFromScreenRunner? performer { get; set; }
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private SkinEditorOverlay skinEditorOverlay { get; set; } = null!;
|
private SkinEditorOverlay? skinEditorOverlay { get; set; }
|
||||||
|
|
||||||
public SkinEditorSceneLibrary()
|
public SkinEditorSceneLibrary()
|
||||||
{
|
{
|
||||||
@ -86,7 +86,7 @@ namespace osu.Game.Overlays.SkinEditor
|
|||||||
Text = SkinEditorStrings.Gameplay,
|
Text = SkinEditorStrings.Gameplay,
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Action = () => skinEditorOverlay.PresentGameplay(),
|
Action = () => skinEditorOverlay?.PresentGameplay(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user