mirror of
https://github.com/osukey/osukey.git
synced 2025-07-11 05:10:10 +09:00
Consider all points in a group to meet redundancy check
This commit is contained in:
@ -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.
|
/// For display purposes, check whether the proposed group is made redundant by this visualisation group.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsVisuallyRedundant(ControlPointGroup other) =>
|
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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user