Skip to content

Commit

Permalink
Revert incorrect Rect2.expand description.
Browse files Browse the repository at this point in the history
Also affects Rect2i of course.
  • Loading branch information
Mickeon committed Aug 3, 2023
1 parent 237bd0a commit f17d3a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/classes/Rect2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<return type="Rect2" />
<param index="0" name="to" type="Vector2" />
<description>
Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
[codeblocks]
[gdscript]
var rect = Rect2(0, 0, 5, 2)
Expand Down
2 changes: 1 addition & 1 deletion doc/classes/Rect2i.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<return type="Rect2i" />
<param index="0" name="to" type="Vector2i" />
<description>
Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
[codeblocks]
[gdscript]
var rect = Rect2i(0, 0, 5, 2)
Expand Down

0 comments on commit f17d3a6

Please sign in to comment.