1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:07:52 +08:00

fix double newlines

This commit is contained in:
Wleter 2023-01-17 21:11:21 +01:00
parent b8e6a2d87b
commit 00f15d19f9
3 changed files with 1 additions and 2 deletions

View File

@ -26,6 +26,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
/// Offset in absolute (local) coordinates from the end of the curve. /// Offset in absolute (local) coordinates from the end of the curve.
/// </summary> /// </summary>
public Vector2 PathEndLocation => body.PathEndOffset; public Vector2 PathEndLocation => body.PathEndOffset;
public SliderBodyPiece() public SliderBodyPiece()
{ {
InternalChild = body = new ManualSliderBody InternalChild = body = new ManualSliderBody

View File

@ -409,7 +409,6 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
public override Vector2 ScreenSpaceSelectionPoint => DrawableObject.SliderBody?.ToScreenSpace(DrawableObject.SliderBody.PathOffset) public override Vector2 ScreenSpaceSelectionPoint => DrawableObject.SliderBody?.ToScreenSpace(DrawableObject.SliderBody.PathOffset)
?? BodyPiece.ToScreenSpace(BodyPiece.PathStartLocation); ?? BodyPiece.ToScreenSpace(BodyPiece.PathStartLocation);
public override Vector2 ScreenSpaceEndPoint => DrawableObject.SliderBody?.ToScreenSpace(DrawableObject.SliderBody.PathEndOffset) public override Vector2 ScreenSpaceEndPoint => DrawableObject.SliderBody?.ToScreenSpace(DrawableObject.SliderBody.PathEndOffset)
?? BodyPiece.ToScreenSpace(BodyPiece.PathEndLocation); ?? BodyPiece.ToScreenSpace(BodyPiece.PathEndLocation);

View File

@ -35,7 +35,6 @@ namespace osu.Game.Rulesets.Osu.Skinning
/// Offset in absolute coordinates from the end of the curve. /// Offset in absolute coordinates from the end of the curve.
/// </summary> /// </summary>
public virtual Vector2 PathEndOffset => path.PositionInBoundingBox(path.Vertices[^1]); public virtual Vector2 PathEndOffset => path.PositionInBoundingBox(path.Vertices[^1]);
/// <summary> /// <summary>
/// Used to colour the path. /// Used to colour the path.