Remove redundant `canBeNull: true`

This commit is contained in:
ekrctb 2023-01-15 23:11:59 +09:00
parent 086604cd14
commit d664a66a37
4 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ public abstract partial class EditablePath : CompositeDrawable
private readonly List<VertexState> previousVertexStates = new List<VertexState>(); private readonly List<VertexState> previousVertexStates = new List<VertexState>();
[Resolved(CanBeNull = true)] [Resolved]
private IBeatSnapProvider? beatSnapProvider { get; set; } private IBeatSnapProvider? beatSnapProvider { get; set; }
protected EditablePath(Func<float, double> positionToTime) protected EditablePath(Func<float, double> positionToTime)

View File

@ -22,7 +22,7 @@ public partial class SelectionEditablePath : EditablePath, IHasContextMenu
// To handle when the editor is scrolled while dragging. // To handle when the editor is scrolled while dragging.
private Vector2 dragStartPosition; private Vector2 dragStartPosition;
[Resolved(CanBeNull = true)] [Resolved]
private IEditorChangeHandler? changeHandler { get; set; } private IEditorChangeHandler? changeHandler { get; set; }
public SelectionEditablePath(Func<float, double> positionToTime) public SelectionEditablePath(Func<float, double> positionToTime)

View File

@ -50,7 +50,7 @@ public partial class JuiceStreamSelectionBlueprint : CatchSelectionBlueprint<Jui
private Vector2 rightMouseDownPosition; private Vector2 rightMouseDownPosition;
[Resolved(CanBeNull = true)] [Resolved]
private EditorBeatmap? editorBeatmap { get; set; } private EditorBeatmap? editorBeatmap { get; set; }
public JuiceStreamSelectionBlueprint(JuiceStream hitObject) public JuiceStreamSelectionBlueprint(JuiceStream hitObject)

View File

@ -29,7 +29,7 @@ public CatchComboDisplay()
{ {
} }
[Resolved(canBeNull: true)] [Resolved]
private Player? player { get; set; } private Player? player { get; set; }
protected override void LoadComplete() protected override void LoadComplete()