mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 10:23:20 +08:00
fix setters
This commit is contained in:
parent
6b1fc292c5
commit
f9b7f26ef3
@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user