mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Updated texture_button documentation
Old description implied that the normal texture would not be displayed while the button is on focus. That is not the case.
This commit is contained in:
parent
8f25cc2d13
commit
dde46d75c4
@ -37,7 +37,7 @@
|
||||
Texture to display when the mouse hovers the node.
|
||||
</member>
|
||||
<member name="texture_normal" type="Texture2D" setter="set_texture_normal" getter="get_texture_normal">
|
||||
Texture to display by default, when the node is [b]not[/b] in the disabled, focused, hover or pressed state.
|
||||
Texture to display by default, when the node is [b]not[/b] in the disabled, hover or pressed state. This texture is still displayed in the focused state, with [member texture_focused] drawn on top.
|
||||
</member>
|
||||
<member name="texture_pressed" type="Texture2D" setter="set_texture_pressed" getter="get_texture_pressed">
|
||||
Texture to display on mouse down over the node, if the node has keyboard focus and the player presses the Enter key or if the player presses the [member BaseButton.shortcut] key.
|
||||
|
Loading…
Reference in New Issue
Block a user