diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-20 13:09:05 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-20 13:09:05 +0200 |
commit | bfcfa1028815a2d45c9a4a5711488c8b74f03e80 (patch) | |
tree | fd8a516ed575f7aa59ea358e299c390cb4f1484a /scene/gui/code_edit.cpp | |
parent | 571cd0eb791b37e9a8adda9f909251138170f6b7 (diff) | |
parent | 6afadbaa9f91ef69aea2c91f154f1e299e9cc863 (diff) | |
download | redot-engine-bfcfa1028815a2d45c9a4a5711488c8b74f03e80.tar.gz |
Merge pull request #71905 from ajreckof/change_CTRL_for_command_or_control
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
Diffstat (limited to 'scene/gui/code_edit.cpp')
-rw-r--r-- | scene/gui/code_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index 6ef8eacfd0..d35d35d36d 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -433,7 +433,7 @@ void CodeEdit::gui_input(const Ref<InputEvent> &p_gui_input) { // Allow unicode handling if: // No modifiers are pressed (except Shift and CapsLock) - bool allow_unicode_handling = !(k->is_command_or_control_pressed() || k->is_ctrl_pressed() || k->is_alt_pressed() || k->is_meta_pressed()); + bool allow_unicode_handling = !(k->is_ctrl_pressed() || k->is_alt_pressed() || k->is_meta_pressed()); /* AUTO-COMPLETE */ if (code_completion_enabled && k->is_action("ui_text_completion_query", true)) { |