You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix key mapping changes when moving from macOS to other platform
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
This commit is contained in:
@@ -145,7 +145,7 @@ void FileDialog::shortcut_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
switch (k->get_keycode()) {
|
||||
case Key::H: {
|
||||
if (k->is_command_pressed()) {
|
||||
if (k->is_command_or_control_pressed()) {
|
||||
set_show_hidden_files(!show_hidden_files);
|
||||
} else {
|
||||
handled = false;
|
||||
|
||||
Reference in New Issue
Block a user