diff options
author | Micky <micheledevita2@gmail.com> | 2023-08-03 14:59:07 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2023-08-03 14:59:07 +0200 |
commit | f17d3a66fefbf861a9ca597f872eb3a2cbf03a93 (patch) | |
tree | 99a2d8b9bda8d02f5a1937a57a8ee830e1f39d78 /doc | |
parent | 237bd0a615df8a0e57bc3d299894abece7b43a0c (diff) | |
download | redot-engine-f17d3a66fefbf861a9ca597f872eb3a2cbf03a93.tar.gz |
Revert incorrect `Rect2.expand` description.
Also affects Rect2i of course.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Rect2.xml | 2 | ||||
-rw-r--r-- | doc/classes/Rect2i.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index fdabb110c6..4f17e3cf2d 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -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) diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml index 79d9e3f6df..c021a1be26 100644 --- a/doc/classes/Rect2i.xml +++ b/doc/classes/Rect2i.xml @@ -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) |