Use compound assignment.

This commit is contained in:
Huo Yaoyuan
2019-11-12 17:56:38 +08:00
parent 4b75e0bf6a
commit 7d7b9e36b2
13 changed files with 13 additions and 13 deletions

View File

@ -114,7 +114,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
newControlPoints[i] = newControlPoints[i] - first;
// The slider's position defines the position of the first control point, and all further control points are relative to that point
slider.Position = slider.Position + first;
slider.Position += first;
// Since pieces are re-used, they will not point to the deleted control points while remaining selected
foreach (var piece in Pieces)