From dde46d75c46ccfc3a2e277009a658e6fcfdcacb5 Mon Sep 17 00:00:00 2001
From: TLAliceDev <109485802+TLAliceDev@users.noreply.github.com>
Date: Fri, 24 Feb 2023 11:46:38 -0300
Subject: [PATCH] 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.
---
doc/classes/TextureButton.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/classes/TextureButton.xml b/doc/classes/TextureButton.xml
index b35322d9f32..bb95040d345 100644
--- a/doc/classes/TextureButton.xml
+++ b/doc/classes/TextureButton.xml
@@ -37,7 +37,7 @@
Texture to display when the mouse hovers the node.
- 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.
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.