summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-09 10:36:28 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-09 10:36:28 +0100
commite84bab8e4f3c3bac0d203eca415ab856c29dd337 (patch)
tree8199ae3fe2924cff2490d63d7c90406b4f68b4d7 /doc
parentb6be2ac62153929ff7be0800cab5b0a7b95946a8 (diff)
parent9b3da766401e2cadc8059f17c65b0023b8085bda (diff)
Merge pull request #71101 from dalexeev/fix-unpressable-buttons
Fix unpressable buttons
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/BaseButton.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/BaseButton.xml b/doc/classes/BaseButton.xml
index 4810abbaf1..aedb8f4420 100644
--- a/doc/classes/BaseButton.xml
+++ b/doc/classes/BaseButton.xml
@@ -50,7 +50,7 @@
<member name="button_group" type="ButtonGroup" setter="set_button_group" getter="get_button_group">
The [ButtonGroup] associated with the button. Not to be confused with node groups.
</member>
- <member name="button_mask" type="int" setter="set_button_mask" getter="get_button_mask" enum="MouseButtonMask" default="0">
+ <member name="button_mask" type="int" setter="set_button_mask" getter="get_button_mask" enum="MouseButtonMask" default="1">
Binary mask to choose which mouse buttons this button will respond to.
To allow both left-click and right-click, use [code]MOUSE_BUTTON_MASK_LEFT | MOUSE_BUTTON_MASK_RIGHT[/code].
</member>