Merge pull request #20081 from moiman100/fix-double-click-hold
Fixes is_pressed when holding double click.
This commit is contained in:
commit
a03b72956d
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue