Fix double tap pressed event regression
This commit is contained in:
parent
9823dab954
commit
d2a5b7367b
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue