mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
Consider all points in a group to meet redundancy check
This commit is contained in:
parent
93cd07f7fb
commit
03ac91a3ee
@ -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<IControlPointVisualisation>().Any(c2 => c2.IsVisuallyRedundant(c)));
|
||||
other.ControlPoints.All(c => InternalChildren.OfType<IControlPointVisualisation>().Any(c2 => c2.IsVisuallyRedundant(c)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user