diff options
author | Johannes Jakob <johjakob> | 2021-02-04 16:27:44 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-02-04 16:27:44 +0300 |
commit | bec08621d60771c2464d9ee20d679c7d202bd9e1 (patch) | |
tree | 31f5696ecfac8571b103b6a99202c48f992c3f93 /release/scripts/modules/bl_keymap_utils/platform_helpers.py | |
parent | 3f90c11621845424a0b61d293f71ab179e88f56b (diff) |
Fix T85363: Cmd + Tab shortcut overridden on macOS
Adds an exception so that the key-binding `control + Tab` does not get
duplicated as `command + Tab` on macOS because this is a global system
shortcut for the app switcher.
The key-binding `command + Tab` was shown for the operators “Toggle
Graph Editor“ and “Toggle Dope Sheet” in Dope Sheet and Graph Editor,
but only `control + Tab` actually worked.
Differential Revision: https://developer.blender.org/D10304
Diffstat (limited to 'release/scripts/modules/bl_keymap_utils/platform_helpers.py')
-rw-r--r-- | release/scripts/modules/bl_keymap_utils/platform_helpers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/modules/bl_keymap_utils/platform_helpers.py b/release/scripts/modules/bl_keymap_utils/platform_helpers.py index e18a902c562..a6058b993d5 100644 --- a/release/scripts/modules/bl_keymap_utils/platform_helpers.py +++ b/release/scripts/modules/bl_keymap_utils/platform_helpers.py @@ -49,6 +49,7 @@ def keyconfig_data_oskey_from_ctrl_for_macos(keyconfig_data_src): 'W', 'ACCENT_GRAVE', 'PERIOD', + 'TAB', }): if (not item_event.get("alt")) and (not item_event.get("shift")): return False |