mirror of https://github.com/ppy/osu
Remove unnecessary null coalesce
This commit is contained in:
parent
b47a2a03d5
commit
42c543472d
|
@ -75,7 +75,7 @@ protected override void LoadComplete()
|
|||
|
||||
public override bool HandleQuickDeletion()
|
||||
{
|
||||
var hoveredControlPoint = ControlPointVisualiser?.Pieces?.FirstOrDefault(p => p.IsHovered);
|
||||
var hoveredControlPoint = ControlPointVisualiser?.Pieces.FirstOrDefault(p => p.IsHovered);
|
||||
|
||||
if (hoveredControlPoint == null)
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue