Merge pull request #35701 from AlexHolly/fix-double_tap-pressed-regression

Fix double tap pressed event regression
This commit is contained in:
Rémi Verschelde 2020-02-09 13:12:16 +01:00 committed by GitHub
commit 8e674ea70c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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