summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-16 11:28:04 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-02-20 22:02:47 +0200
commitb3c64675cce2a99a1c8549569939fe57ff61eeea (patch)
tree7a0bafbe2e87c43ee595cca6f98b2fae3ec5bc5f /modules
parentdfdda9629499271c447d4935b07e583650666600 (diff)
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/csharp_script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index fe0f4aae81..43d2779e41 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -1147,6 +1147,7 @@ void CSharpLanguage::_editor_init_callback() {
// Add plugin to EditorNode and enable it
EditorNode::add_editor_plugin(godotsharp_editor);
ED_SHORTCUT("mono/build_solution", TTR("Build Solution"), KeyModifierMask::ALT | Key::B);
+ ED_SHORTCUT_OVERRIDE("mono/build_solution", "macos", KeyModifierMask::META | KeyModifierMask::CTRL | Key::B);
godotsharp_editor->enable_plugin();
get_singleton()->godotsharp_editor = godotsharp_editor;