mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 19:47:33 +09: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.
|
/// 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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user