You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Fixes is_pressed when holding double click.
This commit is contained in:
@@ -276,7 +276,7 @@ void InputDefault::_parse_input_event_impl(const Ref<InputEvent> &p_event, bool
|
|||||||
|
|
||||||
Ref<InputEventMouseButton> mb = p_event;
|
Ref<InputEventMouseButton> mb = p_event;
|
||||||
|
|
||||||
if (mb.is_valid() && !mb->is_doubleclick()) {
|
if (mb.is_valid()) {
|
||||||
|
|
||||||
if (mb->is_pressed()) {
|
if (mb->is_pressed()) {
|
||||||
mouse_button_mask |= (1 << (mb->get_button_index() - 1));
|
mouse_button_mask |= (1 << (mb->get_button_index() - 1));
|
||||||
|
|||||||
Reference in New Issue
Block a user