Android: fix mouse capture relative wrong
This commit is contained in:
parent
45d627a845
commit
d543917c03
1 changed files with 0 additions and 1 deletions
|
@ -725,7 +725,6 @@ void DisplayServerAndroid::process_mouse_event(int input_device, int event_actio
|
|||
ev->set_global_position(hover_prev_pos);
|
||||
ev->set_relative(event_pos);
|
||||
}
|
||||
ev->set_relative(event_pos - hover_prev_pos);
|
||||
ev->set_button_mask(event_buttons_mask);
|
||||
Input::get_singleton()->accumulate_input_event(ev);
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue