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:
parent
df37768ff4
commit
2d6f64e891
@ -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++)
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user