Skip to content

Commit

Permalink
Merge pull request godotengine#46316 from akien-mga/input-ui_redo-swa…
Browse files Browse the repository at this point in the history
…p-order

Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y
  • Loading branch information
akien-mga authored Feb 23, 2021
2 parents c5a88e6 + 12cc660 commit e254715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/input/input_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 /////
Expand Down

0 comments on commit e254715

Please sign in to comment.