mirror of
https://github.com/godotengine/godot.git
synced 2025-03-01 23:21:39 +08:00
Fix typo on "autoremapping".
Update warning strings to be consistent with the rest of the code base, which uses "Command or Control".
This commit is contained in:
parent
23394bebed
commit
40ae917db8
@ -190,7 +190,7 @@ bool InputEventWithModifiers::is_alt_pressed() const {
|
||||
}
|
||||
|
||||
void InputEventWithModifiers::set_ctrl_pressed(bool p_enabled) {
|
||||
ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command/Control autoremaping is enabled, cannot set Control directly!");
|
||||
ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command or Control autoremapping is enabled, cannot set Control directly!");
|
||||
ctrl_pressed = p_enabled;
|
||||
emit_changed();
|
||||
}
|
||||
@ -200,7 +200,7 @@ bool InputEventWithModifiers::is_ctrl_pressed() const {
|
||||
}
|
||||
|
||||
void InputEventWithModifiers::set_meta_pressed(bool p_enabled) {
|
||||
ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command/Control autoremaping is enabled, cannot set Meta directly!");
|
||||
ERR_FAIL_COND_MSG(command_or_control_autoremap, "Command or Control autoremapping is enabled, cannot set Meta directly!");
|
||||
meta_pressed = p_enabled;
|
||||
emit_changed();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user