diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-12-14 23:18:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 23:18:52 +0100 |
commit | a03b72956db9ed3a9db219271959e7daae0e3664 (patch) | |
tree | 7e6fbff859cf7eab6c7194525fccd87b9bd57bf8 /main/input_default.cpp | |
parent | 16fda586d915fd6d26bda8ecde487fc3f8481a2a (diff) | |
parent | 7d11f01636de02948f4fac4c0acac3894f389632 (diff) |
Merge pull request #20081 from moiman100/fix-double-click-hold
Fixes is_pressed when holding double click.
Diffstat (limited to 'main/input_default.cpp')
-rw-r--r-- | main/input_default.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/input_default.cpp b/main/input_default.cpp index b1084900d6..67301a38f3 100644 --- a/main/input_default.cpp +++ b/main/input_default.cpp @@ -280,7 +280,7 @@ void InputDefault::_parse_input_event_impl(const Ref<InputEvent> &p_event, bool Ref<InputEventMouseButton> mb = p_event; - if (mb.is_valid() && !mb->is_doubleclick()) { + if (mb.is_valid()) { if (mb->is_pressed()) { mouse_button_mask |= (1 << (mb->get_button_index() - 1)); |