Rename methods and add xmldoc

This commit is contained in:
Dean Herbert
2022-01-15 23:55:11 +09:00
parent 64c499d9d6
commit c5cae4e3ee
5 changed files with 9 additions and 8 deletions

View File

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