Explorar el Código

Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.

bruvzg hace 6 años
padre
commit
63d8dc0920
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scene/gui/line_edit.cpp

+ 1 - 1
scene/gui/line_edit.cpp

@@ -539,7 +539,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
 
 			if (handled) {
 				accept_event();
-			} else if (!k->get_alt() && !k->get_command()) {
+			} else if (!k->get_command()) {
 				if (k->get_unicode() >= 32 && k->get_scancode() != KEY_DELETE) {
 
 					if (editable) {