Fix all "Maintainability" CodeFactor issues

This commit is contained in:
Arphox
2019-06-11 10:28:16 +02:00
parent 164b05abd6
commit 07e17518e9
11 changed files with 16 additions and 16 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Game.Rulesets.Edit
/// </summary>
public readonly DrawableHitObject HitObject;
protected override bool ShouldBeAlive => HitObject.IsAlive && HitObject.IsPresent || State == SelectionState.Selected;
protected override bool ShouldBeAlive => (HitObject.IsAlive && HitObject.IsPresent) || State == SelectionState.Selected;
public override bool HandlePositionalInput => ShouldBeAlive;
public override bool RemoveWhenNotAlive => false;