mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
solved control + alt issue
This commit is contained in:
parent
aeb95ef006
commit
f412237f38
@ -569,7 +569,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
|
||||
|
||||
if (handled) {
|
||||
accept_event();
|
||||
} else if (!k->get_command()) {
|
||||
} else if (!k->get_command() || (k->get_command() && k->get_alt())) {
|
||||
if (k->get_unicode() >= 32 && k->get_keycode() != KEY_DELETE) {
|
||||
|
||||
if (editable) {
|
||||
|
@ -3762,7 +3762,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!keycode_handled && !k->get_command()) { // For German keyboards.
|
||||
if (!keycode_handled && (!k->get_command() || (k->get_command() && k->get_alt()))) { // For German keyboards.
|
||||
|
||||
if (k->get_unicode() >= 32) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user