Skip to content

Commit

Permalink
Merge pull request #44203 from thebestnom/fix/Android-Capture-Mouse
Browse files Browse the repository at this point in the history
Android: fix mouse capture relative wrong
  • Loading branch information
akien-mga authored Dec 9, 2020
2 parents 45d627a + d543917 commit 719d698
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion platform/android/display_server_android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 719d698

Please sign in to comment.