[macOS] Replace all Alt/Option+Letter/Number default shortcuts to avoid conflicts with special character input.

This commit is contained in:
bruvzg 2023-02-16 11:28:04 +02:00
parent dfdda96294
commit b3c64675cc
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
8 changed files with 24 additions and 9 deletions

View file

@ -1705,6 +1705,11 @@ EditorFileDialog::EditorFileDialog() {
ED_SHORTCUT("file_dialog/move_favorite_up", TTR("Move Favorite Up"), KeyModifierMask::CMD_OR_CTRL | Key::UP);
ED_SHORTCUT("file_dialog/move_favorite_down", TTR("Move Favorite Down"), KeyModifierMask::CMD_OR_CTRL | Key::DOWN);
if (EditorSettings::get_singleton()) {
ED_SHORTCUT_OVERRIDE("file_dialog/toggle_favorite", "macos", KeyModifierMask::META | KeyModifierMask::CTRL | Key::F);
ED_SHORTCUT_OVERRIDE("file_dialog/toggle_mode", "macos", KeyModifierMask::META | KeyModifierMask::CTRL | Key::V);
}
HBoxContainer *pathhb = memnew(HBoxContainer);
dir_prev = memnew(Button);