Merge pull request #42906 from Xrayez/doc-xref-color-ref-rects

Cross-reference `ColorRect` and `ReferenceRect` in the class reference
This commit is contained in:
Rémi Verschelde 2020-10-22 11:25:35 +02:00 committed by GitHub
commit 003ee8b7c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
Colored rectangle. Colored rectangle.
</brief_description> </brief_description>
<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> </description>
<tutorials> <tutorials>
<link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/515</link> <link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/515</link>

View file

@ -4,7 +4,7 @@
Reference frame for GUI. Reference frame for GUI.
</brief_description> </brief_description>
<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> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>