mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
fix: update shortcut input to support CMD key for snapping
This commit is contained in:
@@ -8385,7 +8385,7 @@ void Node3DEditor::shortcut_input(const Ref<InputEvent> &p_event) {
|
||||
return;
|
||||
}
|
||||
|
||||
snap_key_enabled = Input::get_singleton()->is_key_pressed(Key::CTRL);
|
||||
snap_key_enabled = Input::get_singleton()->is_key_pressed(Key::CMD_OR_CTRL);
|
||||
}
|
||||
|
||||
void Node3DEditor::_sun_environ_settings_pressed() {
|
||||
|
||||
Reference in New Issue
Block a user