Fix double tap pressed event regression

This commit is contained in:
Alexander Holland 2020-01-29 16:24:40 +01:00
parent 9823dab954
commit d2a5b7367b

View file

@ -507,9 +507,8 @@ void OS_Android::process_double_tap(Point2 p_pos) {
ev.instance();
ev->set_position(p_pos);
ev->set_global_position(p_pos);
ev->set_pressed(true);
ev->set_pressed(false);
ev->set_doubleclick(true);
ev->set_button_index(1);
input->parse_input_event(ev);
}