Skip to content

Commit

Permalink
Merge pull request #80217 from Mickeon/oops-rects
Browse files Browse the repository at this point in the history
Revert incorrect `Rect2.expand` description.
  • Loading branch information
akien-mga committed Aug 3, 2023
2 parents 4c70849 + f17d3a6 commit c97e4a3
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 c97e4a3

Please sign in to comment.