[3.x] Fix small mistake in docs, "antecedents" -> "ancestors"
(cherry picked from commit 92f0c9272f
)
This commit is contained in:
parent
a9c451af33
commit
bdc8049651
@ -367,7 +367,7 @@
|
|||||||
<method name="is_visible_in_tree" qualifiers="const">
|
<method name="is_visible_in_tree" qualifiers="const">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code] if the node is present in the [SceneTree], its [member visible] property is [code]true[/code] and all its antecedents are also visible. If any antecedent is hidden, this node will not be visible in the scene tree, and is consequently not drawn (see [method _draw]).
|
Returns [code]true[/code] if the node is present in the [SceneTree], its [member visible] property is [code]true[/code] and all its ancestors are also visible. If any ancestor is hidden, this node will not be visible in the scene tree, and is consequently not drawn (see [method _draw]).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="make_canvas_position_local" qualifiers="const">
|
<method name="make_canvas_position_local" qualifiers="const">
|
||||||
@ -441,7 +441,7 @@
|
|||||||
If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material.
|
If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material.
|
||||||
</member>
|
</member>
|
||||||
<member name="visible" type="bool" setter="set_visible" getter="is_visible" default="true">
|
<member name="visible" type="bool" setter="set_visible" getter="is_visible" default="true">
|
||||||
If [code]true[/code], this [CanvasItem] is drawn. The node is only visible if all of its antecedents are visible as well (in other words, [method is_visible_in_tree] must return [code]true[/code]).
|
If [code]true[/code], this [CanvasItem] is drawn. The node is only visible if all of its ancestors are visible as well (in other words, [method is_visible_in_tree] must return [code]true[/code]).
|
||||||
[b]Note:[/b] For controls that inherit [Popup], the correct way to make them visible is to call one of the multiple [code]popup*()[/code] functions instead.
|
[b]Note:[/b] For controls that inherit [Popup], the correct way to make them visible is to call one of the multiple [code]popup*()[/code] functions instead.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
<method name="is_visible_in_tree" qualifiers="const">
|
<method name="is_visible_in_tree" qualifiers="const">
|
||||||
<return type="bool" />
|
<return type="bool" />
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code] if the node is present in the [SceneTree], its [member visible] property is [code]true[/code] and all its antecedents are also visible. If any antecedent is hidden, this node will not be visible in the scene tree.
|
Returns [code]true[/code] if the node is present in the [SceneTree], its [member visible] property is [code]true[/code] and all its ancestors are also visible. If any ancestor is hidden, this node will not be visible in the scene tree.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="look_at">
|
<method name="look_at">
|
||||||
@ -282,7 +282,7 @@
|
|||||||
Local translation of this node.
|
Local translation of this node.
|
||||||
</member>
|
</member>
|
||||||
<member name="visible" type="bool" setter="set_visible" getter="is_visible" default="true">
|
<member name="visible" type="bool" setter="set_visible" getter="is_visible" default="true">
|
||||||
If [code]true[/code], this node is drawn. The node is only visible if all of its antecedents are visible as well (in other words, [method is_visible_in_tree] must return [code]true[/code]).
|
If [code]true[/code], this node is drawn. The node is only visible if all of its ancestors are visible as well (in other words, [method is_visible_in_tree] must return [code]true[/code]).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
Loading…
Reference in New Issue
Block a user