Skip to content

Commit 167cf79

Browse files
committed
fix: update shortcut input to support CMD key for snapping
1 parent 4ebf67c commit 167cf79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/scene/3d/node_3d_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8385,7 +8385,7 @@ void Node3DEditor::shortcut_input(const Ref<InputEvent> &p_event) {
83858385
return;
83868386
}
83878387

8388-
snap_key_enabled = Input::get_singleton()->is_key_pressed(Key::CTRL);
8388+
snap_key_enabled = Input::get_singleton()->is_key_pressed(Key::CMD_OR_CTRL);
83898389
}
83908390

83918391
void Node3DEditor::_sun_environ_settings_pressed() {

0 commit comments

Comments
 (0)