mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
Rename ControlPointVisualisation
interface type to be less specific
This commit is contained in:
parent
c5cae4e3ee
commit
236fa6da7e
@ -9,7 +9,7 @@ using osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations;
|
||||
|
||||
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
|
||||
{
|
||||
public class ControlPointVisualisation : PointVisualisation, IControlPointVisualisationRedundant
|
||||
public class ControlPointVisualisation : PointVisualisation, IControlPointVisualisation
|
||||
{
|
||||
protected readonly ControlPoint Point;
|
||||
|
||||
|
@ -13,7 +13,7 @@ using osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations;
|
||||
|
||||
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
|
||||
{
|
||||
public class EffectPointVisualisation : CompositeDrawable, IControlPointVisualisationRedundant
|
||||
public class EffectPointVisualisation : CompositeDrawable, IControlPointVisualisation
|
||||
{
|
||||
private readonly EffectControlPoint effect;
|
||||
private Bindable<bool> kiai;
|
||||
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ using osu.Game.Beatmaps.ControlPoints;
|
||||
|
||||
namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
|
||||
{
|
||||
public interface IControlPointVisualisationRedundant
|
||||
public interface IControlPointVisualisation
|
||||
{
|
||||
/// <summary>
|
||||
/// For display purposes, check whether the proposed point is made redundant by this visualisation.
|
Loading…
Reference in New Issue
Block a user