diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-03-01 09:52:37 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-03-01 09:52:37 +0300 |
commit | 5e3c64828aacc8e166a74e3a8df0cecd408a25ef (patch) | |
tree | da73d14165804a8c53f69f8be1aafda7d8637500 | |
parent | 2a15304572516a8df2dabd9561c959832badf60f (diff) | |
download | redot-engine-5e3c64828aacc8e166a74e3a8df0cecd408a25ef.tar.gz |
Fix InputEventKey::echo type from INT to BOOL
-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() { |