1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 17:57:38 +08:00

Allow null DI

This commit is contained in:
Dean Herbert 2020-01-29 23:01:57 +09:00
parent 13eb32fea2
commit da6952407e

View File

@ -72,7 +72,7 @@ namespace osu.Game.Screens.Select
/// </summary> /// </summary>
public virtual bool AllowEditing => true; public virtual bool AllowEditing => true;
[Resolved] [Resolved(canBeNull: true)]
private NotificationOverlay notificationOverlay { get; set; } private NotificationOverlay notificationOverlay { get; set; }
protected override BackgroundScreen CreateBackground() => new BackgroundScreenBeatmap(Beatmap.Value); protected override BackgroundScreen CreateBackground() => new BackgroundScreenBeatmap(Beatmap.Value);