Rename ControlPointVisualisation interface type to be less specific

This commit is contained in:
Dean Herbert
2022-01-15 23:56:00 +09:00
parent c5cae4e3ee
commit 236fa6da7e
4 changed files with 4 additions and 4 deletions

View File

@ -62,6 +62,6 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
/// For display purposes, check whether the proposed group is made redundant by this visualisation group.
/// </summary>
public bool IsVisuallyRedundant(ControlPointGroup other) =>
other.ControlPoints.Any(c => InternalChildren.OfType<IControlPointVisualisationRedundant>().Any(c2 => c2.IsVisuallyRedundant(c)));
other.ControlPoints.Any(c => InternalChildren.OfType<IControlPointVisualisation>().Any(c2 => c2.IsVisuallyRedundant(c)));
}
}