diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-03-01 09:28:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 09:28:01 +0100 |
commit | 323ef1acdb91f94984a1f8e7e13e7c49ea15aa39 (patch) | |
tree | 9b2c6f83412e3be067d99061ced536b604df79dd /core | |
parent | f05bbe6932113b73efc57115a65b63ee8f626b8c (diff) | |
parent | 5e3c64828aacc8e166a74e3a8df0cecd408a25ef (diff) |
Merge pull request #36696 from Chaosus/fix_echo
Fix InputEventKey::echo property type from INT to BOOL
Diffstat (limited to 'core')
-rw-r--r-- | core/os/input_event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input_event.cpp b/core/os/input_event.cpp index 3cb9c2c1c2..2ec233ebc0 100644 --- a/core/os/input_event.cpp +++ b/core/os/input_event.cpp @@ -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() { |