From f17d3a66fefbf861a9ca597f872eb3a2cbf03a93 Mon Sep 17 00:00:00 2001 From: Micky Date: Thu, 3 Aug 2023 14:59:07 +0200 Subject: [PATCH] Revert incorrect `Rect2.expand` description. Also affects Rect2i of course. --- doc/classes/Rect2.xml | 2 +- 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 fdabb110c659..4f17e3cf2de6 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -83,7 +83,7 @@ - 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 79d9e3f6dfe9..c021a1be26f4 100644 --- a/doc/classes/Rect2i.xml +++ b/doc/classes/Rect2i.xml @@ -82,7 +82,7 @@ - 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)