Fix echo key event handling.
This commit is contained in:
parent
3744d9fd55
commit
dbba433b69
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void InputDefault::parse_input_event(const Ref<InputEvent> &p_event) {
|
|||
_THREAD_SAFE_METHOD_
|
||||
|
||||
Ref<InputEventKey> k = p_event;
|
||||
if (k.is_valid() && k->is_echo() && k->get_scancode() != 0) {
|
||||
if (k.is_valid() && !k->is_echo() && k->get_scancode() != 0) {
|
||||
|
||||
//print_line(p_event);
|
||||
|
||||
|
|
Loading…
Reference in a new issue