diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-23 08:10:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 08:10:37 +0100 |
commit | e254715e796f108d6d3fffa24cad9be90d2926e6 (patch) | |
tree | e6711785781e0c029dcfd5c3a3e3ec3afd331ade /core | |
parent | c5a88e6e91ca9c500dc920a4c0e3e27ae1f90cd6 (diff) | |
parent | 12cc660d7d4fccf1649c504ce795ec6bf7aad148 (diff) |
Merge pull request #46316 from akien-mga/input-ui_redo-swap-order
Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
Diffstat (limited to 'core')
-rw-r--r-- | core/input/input_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_map.cpp b/core/input/input_map.cpp index b31c431ead..029808ebbe 100644 --- a/core/input/input_map.cpp +++ b/core/input/input_map.cpp @@ -434,8 +434,8 @@ const OrderedHashMap<String, List<Ref<InputEvent>>> &InputMap::get_builtins() { default_builtin_cache.insert("ui_undo", inputs); inputs = List<Ref<InputEvent>>(); - inputs.push_back(InputEventKey::create_reference(KEY_Y | KEY_MASK_CMD)); inputs.push_back(InputEventKey::create_reference(KEY_Z | KEY_MASK_CMD | KEY_MASK_SHIFT)); + inputs.push_back(InputEventKey::create_reference(KEY_Y | KEY_MASK_CMD)); default_builtin_cache.insert("ui_redo", inputs); // ///// UI Text Input Shortcuts ///// |