Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
This commit is contained in:
@ -2818,7 +2818,7 @@ void SceneTreeDock::_script_dropped(String p_file, NodePath p_to) {
|
||||
}
|
||||
|
||||
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
||||
if (Input::get_singleton()->is_key_pressed(Key::CTRL)) {
|
||||
if (Input::get_singleton()->is_key_pressed(Key::CMD_OR_CTRL)) {
|
||||
Object *obj = ClassDB::instantiate(scr->get_instance_base_type());
|
||||
ERR_FAIL_NULL(obj);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user