mirror of https://github.com/ppy/osu
Remove redundant `canBeNull: true`
This commit is contained in:
parent
086604cd14
commit
d664a66a37
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue