You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user