Merge pull request #75438 from ronyeh/typo
Fix typo on "autoremapping".
This commit is contained in:
commit
0b30785bca
1 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,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();
|
||||||
}
|
}
|
||||||
|
@ -211,7 +211,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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue