summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-22 11:25:35 +0200
committerGitHub <noreply@github.com>2020-10-22 11:25:35 +0200
commit003ee8b7c24a4ef4d10efc7f22cc7c4541ab7730 (patch)
tree875c7390fb7d4e535af06c159c4a342d5faa13e9 /doc/classes
parent232e77bc1b321c614dcd2790292ff65b93ad62c0 (diff)
parent803b046b38397ade406b7ae2ec1f7191d08e3753 (diff)
Merge pull request #42906 from Xrayez/doc-xref-color-ref-rects
Cross-reference `ColorRect` and `ReferenceRect` in the class reference
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ColorRect.xml2
-rw-r--r--doc/classes/ReferenceRect.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/ColorRect.xml b/doc/classes/ColorRect.xml
index 072759e383..7c0cd981e4 100644
--- a/doc/classes/ColorRect.xml
+++ b/doc/classes/ColorRect.xml
@@ -4,7 +4,7 @@
Colored rectangle.
</brief_description>
<description>
- 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.
</description>
<tutorials>
<link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/515</link>
diff --git a/doc/classes/ReferenceRect.xml b/doc/classes/ReferenceRect.xml
index 4f8f71b3db..b99970199a 100644
--- a/doc/classes/ReferenceRect.xml
+++ b/doc/classes/ReferenceRect.xml
@@ -4,7 +4,7 @@
Reference frame for GUI.
</brief_description>
<description>
- 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.
</description>
<tutorials>
</tutorials>