Skip to content

Commit

Permalink
Fix InputEventKey::echo type from INT to BOOL
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaosus committed Mar 1, 2020
1 parent 2a15304 commit 5e3c648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/os/input_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ void InputEventKey::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "pressed"), "set_pressed", "is_pressed");
ADD_PROPERTY(PropertyInfo(Variant::INT, "scancode"), "set_scancode", "get_scancode");
ADD_PROPERTY(PropertyInfo(Variant::INT, "unicode"), "set_unicode", "get_unicode");
ADD_PROPERTY(PropertyInfo(Variant::INT, "echo"), "set_echo", "is_echo");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "echo"), "set_echo", "is_echo");
}

InputEventKey::InputEventKey() {
Expand Down

0 comments on commit 5e3c648

Please sign in to comment.