mirror of https://github.com/ppy/osu
fix double newlines
This commit is contained in:
parent
b8e6a2d87b
commit
00f15d19f9
|
@ -26,6 +26,7 @@ public partial class SliderBodyPiece : BlueprintPiece<Slider>
|
|||
/// Offset in absolute (local) coordinates from the end of the curve.
|
||||
/// </summary>
|
||||
public Vector2 PathEndLocation => body.PathEndOffset;
|
||||
|
||||
public SliderBodyPiece()
|
||||
{
|
||||
InternalChild = body = new ManualSliderBody
|
||||
|
|
|
@ -409,7 +409,6 @@ private void convertToStream()
|
|||
public override Vector2 ScreenSpaceSelectionPoint => DrawableObject.SliderBody?.ToScreenSpace(DrawableObject.SliderBody.PathOffset)
|
||||
?? BodyPiece.ToScreenSpace(BodyPiece.PathStartLocation);
|
||||
|
||||
|
||||
public override Vector2 ScreenSpaceEndPoint => DrawableObject.SliderBody?.ToScreenSpace(DrawableObject.SliderBody.PathEndOffset)
|
||||
?? BodyPiece.ToScreenSpace(BodyPiece.PathEndLocation);
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ public virtual float PathRadius
|
|||
/// Offset in absolute coordinates from the end of the curve.
|
||||
/// </summary>
|
||||
public virtual Vector2 PathEndOffset => path.PositionInBoundingBox(path.Vertices[^1]);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Used to colour the path.
|
||||
|
|
Loading…
Reference in New Issue