mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 23:23:18 +08:00
Split conditions out for readability
This commit is contained in:
parent
565611ee00
commit
566d341b1e
@ -70,6 +70,6 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
|
|||||||
}
|
}
|
||||||
|
|
||||||
// kiai sections display duration, so are required to be visualised.
|
// kiai sections display duration, so are required to be visualised.
|
||||||
public bool IsVisuallyRedundant(ControlPoint other) => (other as EffectControlPoint)?.KiaiMode == effect.KiaiMode;
|
public bool IsVisuallyRedundant(ControlPoint other) => other is EffectControlPoint otherEffect && effect.KiaiMode == otherEffect.KiaiMode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user