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:
TLAliceDev 2023-02-24 11:46:38 -03:00 committed by Max Hilbrunner
parent 8f25cc2d13
commit dde46d75c4

View File

@ -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.