diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-17 22:12:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-17 22:12:08 +0100 |
| commit | 91dc474515166fb30c71fc7cc641aef2955cd471 (patch) | |
| tree | 2492b8dc57560b100d6715fa89942502bbf06844 | |
| parent | 5a1b7a6a90c35642edb3818e82411f00598d9acb (diff) | |
| parent | 6cf1499eaf46f4781ffd2bdf8280a0cfe169a160 (diff) | |
Merge pull request #34407 from Calinou/doc-key-mask-cmd
Improve the `KEY_MASK_CMD` documentation
| -rw-r--r-- | doc/classes/@GlobalScope.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index b25de3cf99..e84e265983 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -879,7 +879,7 @@ Ctrl key mask. </constant> <constant name="KEY_MASK_CMD" value="268435456" enum="KeyModifierMask"> - Cmd key mask. + Command key mask. On macOS, this is equivalent to [constant KEY_MASK_META]. On other platforms, this is equivalent to [constant KEY_MASK_CTRL]. This mask should be preferred to [constant KEY_MASK_META] or [constant KEY_MASK_CTRL] for system shortcuts as it handles all platforms correctly. </constant> <constant name="KEY_MASK_KPAD" value="536870912" enum="KeyModifierMask"> Keypad key mask. |