summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-09-20 13:09:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-09-20 13:09:05 +0200
commitbfcfa1028815a2d45c9a4a5711488c8b74f03e80 (patch)
treefd8a516ed575f7aa59ea358e299c390cb4f1484a /editor/filesystem_dock.cpp
parent571cd0eb791b37e9a8adda9f909251138170f6b7 (diff)
parent6afadbaa9f91ef69aea2c91f154f1e299e9cc863 (diff)
downloadredot-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 'editor/filesystem_dock.cpp')
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 1a518f7d03..338376c724 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -2682,7 +2682,7 @@ void FileSystemDock::drop_data_fw(const Point2 &p_point, const Variant &p_data,
}
}
if (!to_move.is_empty()) {
- if (Input::get_singleton()->is_key_pressed(Key::CTRL)) {
+ if (Input::get_singleton()->is_key_pressed(Key::CMD_OR_CTRL)) {
_move_operation_confirm(to_dir, true);
} else {
_move_operation_confirm(to_dir);