mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Fix echo key event handling.
This commit is contained in:
parent
3744d9fd55
commit
dbba433b69
@ -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 New Issue
Block a user