mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 21:32:57 +08:00
Remove redundant Clear()
call
This commit is contained in:
parent
92728ea564
commit
cf6f66b84f
@ -178,7 +178,6 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
|||||||
if (lastCp != cursor && HitObject.Path.ControlPoints.Count == 2)
|
if (lastCp != cursor && HitObject.Path.ControlPoints.Count == 2)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
bSplineBuilder.Clear();
|
|
||||||
bSplineBuilder.AddLinearPoint(ToLocalSpace(e.ScreenSpaceMouseDownPosition) - HitObject.Position);
|
bSplineBuilder.AddLinearPoint(ToLocalSpace(e.ScreenSpaceMouseDownPosition) - HitObject.Position);
|
||||||
setState(SliderPlacementState.Drawing);
|
setState(SliderPlacementState.Drawing);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user