mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 15:42:54 +08:00
Separate return statement with blank line
This commit is contained in:
parent
a71f769cce
commit
e4c5e5ba17
@ -229,6 +229,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
float expectedDistance = composer?.GetSnappedDistanceFromDistance(HitObject.StartTime, (float)HitObject.Path.CalculatedDistance) ?? (float)HitObject.Path.CalculatedDistance;
|
float expectedDistance = composer?.GetSnappedDistanceFromDistance(HitObject.StartTime, (float)HitObject.Path.CalculatedDistance) ?? (float)HitObject.Path.CalculatedDistance;
|
||||||
if (expectedDistance < 1)
|
if (expectedDistance < 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
HitObject.Path.ExpectedDistance.Value = expectedDistance;
|
HitObject.Path.ExpectedDistance.Value = expectedDistance;
|
||||||
editorBeatmap?.Update(HitObject);
|
editorBeatmap?.Update(HitObject);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user