1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:23:20 +08:00

fix setters

This commit is contained in:
OliBomby 2024-10-09 23:26:17 +02:00
parent 6b1fc292c5
commit f9b7f26ef3

View File

@ -22,13 +22,13 @@ namespace osu.Game.Rulesets.Osu.Edit.Commands
public Vector2 Position
{
get => ControlPoint.Position;
set => Submit(new UpdateControlPointCommand(ControlPoint) { Position = Position });
set => Submit(new UpdateControlPointCommand(ControlPoint) { Position = value });
}
public PathType? Type
{
get => ControlPoint.Type;
set => Submit(new UpdateControlPointCommand(ControlPoint) { Type = Type });
set => Submit(new UpdateControlPointCommand(ControlPoint) { Type = value });
}
}
}