summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-08-03 15:12:45 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-08-03 15:12:45 +0200
commitc97e4a31ac85839dea31d84a86c9441b7e775273 (patch)
tree3e06eb83c50932d37593882c77a6a3b76c3f03c8 /doc
parent4c70849b3b3b57b1deaaf079a05eba5b91aa73fe (diff)
parentf17d3a66fefbf861a9ca597f872eb3a2cbf03a93 (diff)
downloadredot-engine-c97e4a31ac85839dea31d84a86c9441b7e775273.tar.gz
Merge pull request #80217 from Mickeon/oops-rects
Revert incorrect `Rect2.expand` description.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Rect2.xml2
-rw-r--r--doc/classes/Rect2i.xml2
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)