summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTLAliceDev <109485802+TLAliceDev@users.noreply.github.com>2023-02-24 11:46:38 -0300
committerMax Hilbrunner <m.hilbrunner@gmail.com>2023-05-30 11:12:23 +0200
commitdde46d75c46ccfc3a2e277009a658e6fcfdcacb5 (patch)
tree5ca1b23333cedc3686daa9e03389c1e70be2c52f /doc
parent8f25cc2d133a17480c95dec026deb9338d2da74c (diff)
downloadredot-engine-dde46d75c46ccfc3a2e277009a658e6fcfdcacb5.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/TextureButton.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/TextureButton.xml b/doc/classes/TextureButton.xml
index b35322d9f3..bb95040d34 100644
--- a/doc/classes/TextureButton.xml
+++ b/doc/classes/TextureButton.xml
@@ -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.