diff options
author | unknown <40793342+moiman100@users.noreply.github.com> | 2018-07-10 12:28:06 +0300 |
---|---|---|
committer | Mikko Mustonen <mustonen.mikko@outlook.com> | 2018-08-02 12:16:10 +0300 |
commit | 7d11f01636de02948f4fac4c0acac3894f389632 (patch) | |
tree | b96949aa417c89464d0ebd138441241be9ab704f /main | |
parent | 6c569c90b666c7fb773eca3948fc76ba7a160a27 (diff) |
Fixes is_pressed when holding double click.
Diffstat (limited to 'main')
-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 4363fc1c88..309da437aa 100644 --- a/main/input_default.cpp +++ b/main/input_default.cpp @@ -276,7 +276,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)); |