Browse Source

Merge pull request #59712 from Calinou/doc-canvasitem-top-level

Rémi Verschelde 3 years ago
parent
commit
142a039f43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/CanvasItem.xml

+ 1 - 1
doc/classes/CanvasItem.xml

@@ -490,7 +490,7 @@
 			The texture repeating mode to use on this [CanvasItem].
 		</member>
 		<member name="top_level" type="bool" setter="set_as_top_level" getter="is_set_as_top_level" default="false">
-			If [code]true[/code], the node will not inherit its transform from parent [CanvasItem]s.
+			If [code]true[/code], this [CanvasItem] will [i]not[/i] inherit its transform from parent [CanvasItem]s. Its draw order will also be changed to make it draw on top of other [CanvasItem]s that do not have [member top_level] set to [code]true[/code]. The [CanvasItem] will effectively act as if it was placed as a child of a bare [Node].
 		</member>
 		<member name="use_parent_material" type="bool" setter="set_use_parent_material" getter="get_use_parent_material" default="false">
 			If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material.