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 @@ 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

View File

@ -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);

View File

@ -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.