From 038baede5a7c882e36cafbe3ad75611849e68c47 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 23 Sep 2020 23:34:28 +0200 Subject: Reference the BaseButton class explicitly in button class documentations Users are sometimes confused as to the `pressed` property not being visible in the Button class documentation. This is because `pressed` is defined in BaseButton. --- doc/classes/TextureButton.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/classes/TextureButton.xml') diff --git a/doc/classes/TextureButton.xml b/doc/classes/TextureButton.xml index a5172586fe..46b008c018 100644 --- a/doc/classes/TextureButton.xml +++ b/doc/classes/TextureButton.xml @@ -6,6 +6,7 @@ [TextureButton] has the same functionality as [Button], except it uses sprites instead of Godot's [Theme] resource. It is faster to create, but it doesn't support localization like more complex [Control]s. The "normal" state must contain a texture ([member texture_normal]); other textures are optional. + See also [BaseButton] which contains common properties and methods associated with this node. -- cgit v1.2.3