summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2022-08-27 13:32:45 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2022-08-28 01:15:03 -0300
commit221344b9e29a0302cace81cb641e0535628b1fec (patch)
treeb1f3b72d9e323fe6c416333431009fc09dbac42d /doc/classes
parent202f0f2f1bcdcabb8e6514c42b19936591ac7b0f (diff)
Fix some corner cases in the `Menu/OptionButton` item auto-highlight
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/PopupMenu.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml
index 0f47bea5df..00b725d5d7 100644
--- a/doc/classes/PopupMenu.xml
+++ b/doc/classes/PopupMenu.xml
@@ -337,6 +337,7 @@
<param index="0" name="index" type="int" />
<description>
Sets the currently focused item as the given [param index].
+ Passing [code]-1[/code] as the index makes so that no item is focused.
</description>
</method>
<method name="set_item_accelerator">