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:
parent
b8e6a2d87b
commit
00f15d19f9
@ -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
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user