1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Implement slider control point deletions

This commit is contained in:
smoogipoo 2019-10-31 17:54:06 +09:00
parent 43b2cbb865
commit 78194cfa6e

View File

@ -85,7 +85,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
case Key.Delete:
var newControlPoints = new List<Vector2>();
foreach (var piece in pieces)
foreach (var piece in Pieces)
{
if (!piece.IsSelected.Value)
newControlPoints.Add(slider.Path.ControlPoints[piece.Index]);