summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:32:28 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:32:28 +0200
commit7cbd33a04d80d86e20d534c1287f74dce31f8e4e (patch)
treeda0324d90c542bad24e5e41777e8d024f7ce5787 /doc
parentfa2d4c04218981db3007692ef2a567d42b5d676f (diff)
parentf6e9565bdc56c2def2a0bb87b77bdf4f36bd70bc (diff)
Merge pull request #66913 from timothyqiu/mouse-button-swap
Describe the left mouse button constant as the primary button
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/@GlobalScope.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index 5bb10d162f..6f455f35c1 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -2260,10 +2260,10 @@
Enum value which doesn't correspond to any mouse button. This is used to initialize [enum MouseButton] properties with a generic state.
</constant>
<constant name="MOUSE_BUTTON_LEFT" value="1" enum="MouseButton">
- Left mouse button.
+ Primary mouse button, usually the left button.
</constant>
<constant name="MOUSE_BUTTON_RIGHT" value="2" enum="MouseButton">
- Right mouse button.
+ Secondary mouse button, usually the right button.
</constant>
<constant name="MOUSE_BUTTON_MIDDLE" value="3" enum="MouseButton">
Middle mouse button.
@@ -2287,10 +2287,10 @@
Extra mouse button 2 (only present on some mice).
</constant>
<constant name="MOUSE_BUTTON_MASK_LEFT" value="1" enum="MouseButton">
- Left mouse button mask.
+ Primary mouse button mask, usually for the left button.
</constant>
<constant name="MOUSE_BUTTON_MASK_RIGHT" value="2" enum="MouseButton">
- Right mouse button mask.
+ Secondary mouse button mask, usually for the right button.
</constant>
<constant name="MOUSE_BUTTON_MASK_MIDDLE" value="4" enum="MouseButton">
Middle mouse button mask.