summaryrefslogtreecommitdiffstats
path: root/doc/classes/Button.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-10-02 20:11:43 +0200
committerYuri Sizov <yuris@humnom.net>2023-10-03 15:48:31 +0200
commitcc0eebd9d8a42f3e57d4633c4388faa6d369d2c8 (patch)
treee539714cf844f473b5417ee388f9eeab113a863c /doc/classes/Button.xml
parenta2f90d565ad29edcb3bdab77bc7df51cdde8514a (diff)
downloadredot-engine-cc0eebd9d8a42f3e57d4633c4388faa6d369d2c8.tar.gz
Validate `code` tags for class and member references
This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
Diffstat (limited to 'doc/classes/Button.xml')
-rw-r--r--doc/classes/Button.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml
index bee0cbcf4a..bf0534ab1e 100644
--- a/doc/classes/Button.xml
+++ b/doc/classes/Button.xml
@@ -140,7 +140,7 @@
[StyleBox] used when the [Button] is disabled (for right-to-left layouts).
</theme_item>
<theme_item name="focus" data_type="style" type="StyleBox">
- [StyleBox] used when the [Button] is focused. The [code]focus[/code] [StyleBox] is displayed [i]over[/i] the base [StyleBox], so a partially transparent [StyleBox] should be used to ensure the base [StyleBox] remains visible. A [StyleBox] that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a [StyleBoxEmpty] resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons.
+ [StyleBox] used when the [Button] is focused. The [theme_item focus] [StyleBox] is displayed [i]over[/i] the base [StyleBox], so a partially transparent [StyleBox] should be used to ensure the base [StyleBox] remains visible. A [StyleBox] that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a [StyleBoxEmpty] resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons.
</theme_item>
<theme_item name="hover" data_type="style" type="StyleBox">
[StyleBox] used when the [Button] is being hovered.