1
0
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:
Bartłomiej Dach 2021-01-21 22:11:51 +01:00
parent a71f769cce
commit e4c5e5ba17

View File

@ -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);
} }