Skip to content

Commit

Permalink
fix setters
Browse files Browse the repository at this point in the history
  • Loading branch information
OliBomby committed Oct 9, 2024
1 parent 6b1fc29 commit f9b7f26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ public PathControlPointCommandProxy(EditorCommandHandler? commandHandler, PathCo
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 });
}
}
}

0 comments on commit f9b7f26

Please sign in to comment.