Fix double tap pressed event regression
(cherry picked from commit d2a5b7367b
)
This commit is contained in:
parent
2d8289579a
commit
489b3c2949
|
@ -507,9 +507,8 @@ void OS_Android::process_double_tap(Point2 p_pos) {
|
||||||
ev.instance();
|
ev.instance();
|
||||||
ev->set_position(p_pos);
|
ev->set_position(p_pos);
|
||||||
ev->set_global_position(p_pos);
|
ev->set_global_position(p_pos);
|
||||||
ev->set_pressed(true);
|
ev->set_pressed(false);
|
||||||
ev->set_doubleclick(true);
|
ev->set_doubleclick(true);
|
||||||
ev->set_button_index(1);
|
|
||||||
input->parse_input_event(ev);
|
input->parse_input_event(ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue