1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-14 05:47:20 +08:00

Fix code quality

This commit is contained in:
Bartłomiej Dach 2025-02-03 15:17:32 +01:00
parent df37768ff4
commit 2d6f64e891
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -408,7 +408,7 @@ namespace osu.Game.Rulesets.Osu.Edit
ArgumentOutOfRangeException.ThrowIfNegativeOrZero(targetOffset);
int positionSourceObjectIndex = -1;
IHasSliderVelocity? sliderVelocitySource = null;
IHasSliderVelocity sliderVelocitySource = null;
for (int i = 0; i < EditorBeatmap.HitObjects.Count; i++)
{

View File

@ -197,7 +197,7 @@ namespace osu.Game.Tests.Visual.Editing
public double DistanceToDuration(float distance, double timingReference, IHasSliderVelocity withVelocity = null) => distance;
public float FindSnappedDistance(float distance, double snapReferenceTime, IHasSliderVelocity? withVelocity = null) => 0;
public float FindSnappedDistance(float distance, double snapReferenceTime, IHasSliderVelocity withVelocity = null) => 0;
}
}
}

View File

@ -67,7 +67,7 @@ namespace osu.Game.Rulesets.Edit
double DistanceToDuration(float distance, double timingReference, IHasSliderVelocity? withVelocity = null);
/// <summary>
/// Snaps a spatial distance to the beat, relative to <see cref="snapReferenceTime"/>.
/// Snaps a spatial distance to the beat, relative to <paramref name="snapReferenceTime"/>.
/// Depends on:
/// <list type="bullet">
/// <item>the <paramref name="distance"/> provided,</item>