You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00: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:
@@ -190,7 +190,7 @@ bool InputEventWithModifiers::is_alt_pressed() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void InputEventWithModifiers::set_ctrl_pressed(bool p_enabled) {
|
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;
|
ctrl_pressed = p_enabled;
|
||||||
emit_changed();
|
emit_changed();
|
||||||
}
|
}
|
||||||
@@ -200,7 +200,7 @@ bool InputEventWithModifiers::is_ctrl_pressed() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void InputEventWithModifiers::set_meta_pressed(bool p_enabled) {
|
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;
|
meta_pressed = p_enabled;
|
||||||
emit_changed();
|
emit_changed();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user