Fix double tap pressed event regression

(cherry picked from commit d2a5b7367b)
This commit is contained in:
Alexander Holland 2020-01-29 16:24:40 +01:00 committed by Rémi Verschelde
parent 2d8289579a
commit 489b3c2949
1 changed files with 1 additions and 2 deletions

View File

@ -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);
} }