Fix #132150: macOS: Allow searching keymap using native modifiers key names
Allow searching through keybindings on macOS using native modifiers key names "control", "option", and "command". Pull Request: https://projects.blender.org/blender/blender/pulls/132579
This commit is contained in:
parent
bf19960937
commit
001c3b0d4b
@ -258,9 +258,14 @@ def draw_filtered(display_keymaps, filter_type, filter_text, layout):
|
||||
"ctrl": "ctrl",
|
||||
"alt": "alt",
|
||||
"shift": "shift",
|
||||
"cmd": "oskey",
|
||||
"oskey": "oskey",
|
||||
"any": "any",
|
||||
|
||||
# macOS specific modifiers names
|
||||
"control": "ctrl",
|
||||
"option": "alt",
|
||||
"cmd": "oskey",
|
||||
"command": "oskey",
|
||||
}
|
||||
# KeyMapItem like dict, use for comparing against
|
||||
# attr: {states, ...}
|
||||
|
Loading…
x
Reference in New Issue
Block a user