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:
parent
43b2cbb865
commit
78194cfa6e
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user