Skip to content

Commit

Permalink
fix: Fix setter in Oxygen's SizeComponent (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
angel333 authored Apr 20, 2022
1 parent ba61779 commit b1fae29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class SizeComponent extends Component<Vector2> {
set size(Vector2 position) => _size.setFrom(position);

double get width => _size.x;
set width(double x) => _size.x = width;
set width(double width) => _size.x = width;

double get height => _size.y;
set height(double height) => _size.y = height;
Expand Down

0 comments on commit b1fae29

Please sign in to comment.