1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:13:34 +08:00

Remove redundant Clear() call

This commit is contained in:
Dean Herbert 2023-11-21 14:37:06 +09:00
parent 92728ea564
commit cf6f66b84f
No known key found for this signature in database

View File

@ -178,7 +178,6 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
if (lastCp != cursor && HitObject.Path.ControlPoints.Count == 2)
return false;
bSplineBuilder.Clear();
bSplineBuilder.AddLinearPoint(ToLocalSpace(e.ScreenSpaceMouseDownPosition) - HitObject.Position);
setState(SliderPlacementState.Drawing);
return true;