From 9fddce92e96511a20e28bd096b30df4d2ae16ff7 Mon Sep 17 00:00:00 2001 From: Olivier Schipper Date: Fri, 19 Sep 2025 01:22:35 +0200 Subject: [PATCH] Reword inline comments --- .../Edit/Blueprints/Sliders/SliderSelectionBlueprint.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.cs b/osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.cs index 553ee94bbd..a7016bdae0 100644 --- a/osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.cs +++ b/osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/SliderSelectionBlueprint.cs @@ -632,16 +632,15 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders private IEnumerable getScreenSpaceControlPointNodes() { - // Return all control point positions which are noticeable on the slider body - // This excludes inherited control points which don't sit on the slider body: Bezier and B-Spline - // And inherited control points which are smooth: Perfect and Catmull + // Returns the positions of control points that produce visible kinks on the slider's path + // This excludes inherited control points from Bezier, B-Spline, Perfect, and Catmull curves if (DrawableObject.SliderBody == null) yield break; PathType? currentPathType = DrawableObject.HitObject.Path.ControlPoints.FirstOrDefault()?.Type; // Skip the first control point because it is already covered by the slider head - // Skip the last control point because its always either not on the slider body or exactly on the slider end + // Skip the last control point because its always either not on the slider path or exactly on the slider end foreach (var controlPoint in DrawableObject.HitObject.Path.ControlPoints.Skip(1).SkipLast(1)) { if (controlPoint.Type is null && currentPathType != PathType.LINEAR)