summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-01-31 17:55:48 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-01-31 19:03:57 +0100
commit23a4fe5b27c191eae1dde05aa522463e67b0766f (patch)
tree5985555fe3cbe32d42ec1955f638c615cb157d70 /doc/classes
parentd7822cbf2136b5dcff899b498c80c139b7701c9e (diff)
Fix incorrect Rect2i calculations: intersects and encloses
Clarify expand documentation
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Rect2i.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml
index 5909784135..e070824297 100644
--- a/doc/classes/Rect2i.xml
+++ b/doc/classes/Rect2i.xml
@@ -70,7 +70,7 @@
<return type="Rect2i" />
<argument index="0" name="to" type="Vector2i" />
<description>
- Returns a copy of this [Rect2i] expanded to include a given point.
+ Returns a copy of this [Rect2i] expanded so that the borders align with the given point.
[codeblocks]
[gdscript]
# position (-3, 2), size (1, 1)