From 803b046b38397ade406b7ae2ec1f7191d08e3753 Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Mon, 19 Oct 2020 20:18:53 +0300 Subject: [PATCH] Cross-reference `ColorRect` and `ReferenceRect` in the class reference They use the same underlying `CanvasItem.draw_rect()` API. --- doc/classes/ColorRect.xml | 2 +- doc/classes/ReferenceRect.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/ColorRect.xml b/doc/classes/ColorRect.xml index 072759e383f..7c0cd981e4c 100644 --- a/doc/classes/ColorRect.xml +++ b/doc/classes/ColorRect.xml @@ -4,7 +4,7 @@ Colored rectangle. - Displays a colored rectangle. + Displays a rectangle filled with a solid [member color]. If you need to display the border alone, consider using [ReferenceRect] instead. https://godotengine.org/asset-library/asset/515 diff --git a/doc/classes/ReferenceRect.xml b/doc/classes/ReferenceRect.xml index 4f8f71b3dbc..b99970199a5 100644 --- a/doc/classes/ReferenceRect.xml +++ b/doc/classes/ReferenceRect.xml @@ -4,7 +4,7 @@ Reference frame for GUI. - A rectangle box that displays only a [member border_color] border color around its rectangle. [ReferenceRect] has no fill [Color]. + A rectangle box that displays only a [member border_color] border color around its rectangle. [ReferenceRect] has no fill [Color]. If you need to display a rectangle filled with a solid color, consider using [ColorRect] instead.