1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

Rename class to signify it is a drawable

This commit is contained in:
Dean Herbert 2019-12-11 20:11:48 +09:00
parent d027c982e4
commit 47b6b01739
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ using osuTK;
namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
{
public class PathControlPointConnection : CompositeDrawable
public class PathControlPointConnectionPiece : CompositeDrawable
{
public PathControlPoint ControlPoint;
@ -21,7 +21,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
private IBindable<Vector2> sliderPosition;
private IBindable<int> pathVersion;
public PathControlPointConnection(Slider slider, PathControlPoint controlPoint)
public PathControlPointConnectionPiece(Slider slider, PathControlPoint controlPoint)
{
this.slider = slider;
ControlPoint = controlPoint;

View File

@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
{
internal readonly Container<PathControlPointPiece> Pieces;
private readonly Container<PathControlPointConnection> connections;
private readonly Container<PathControlPointConnectionPiece> connections;
private readonly Slider slider;
@ -50,7 +50,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
InternalChildren = new Drawable[]
{
connections = new Container<PathControlPointConnection> { RelativeSizeAxes = Axes.Both },
connections = new Container<PathControlPointConnectionPiece> { RelativeSizeAxes = Axes.Both },
Pieces = new Container<PathControlPointPiece> { RelativeSizeAxes = Axes.Both }
};
}
@ -78,7 +78,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
d.RequestSelection = selectPiece;
}));
connections.Add(new PathControlPointConnection(slider, point));
connections.Add(new PathControlPointConnectionPiece(slider, point));
}
}