1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 18:47:27 +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: case Key.Delete:
var newControlPoints = new List<Vector2>(); var newControlPoints = new List<Vector2>();
foreach (var piece in pieces) foreach (var piece in Pieces)
{ {
if (!piece.IsSelected.Value) if (!piece.IsSelected.Value)
newControlPoints.Add(slider.Path.ControlPoints[piece.Index]); newControlPoints.Add(slider.Path.ControlPoints[piece.Index]);