Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't send redundant synthetic moves. #819

Merged
merged 4 commits into from Sep 19, 2023

Conversation

elijah-semyonov
Copy link

@elijah-semyonov elijah-semyonov commented Sep 15, 2023

Proposed Changes

Only send synthetic moves when at least one touch is down or input source is a mouse.

Testing

Test: N/A

Issues Fixed

Fixes: redundant computations every frame.

@elijah-semyonov elijah-semyonov marked this pull request as ready for review September 15, 2023 08:37
@elijah-semyonov elijah-semyonov changed the title Only send synthetic moves when at least one is down. Don't send redundant synthetic moves. Sep 15, 2023
@elijah-semyonov elijah-semyonov merged commit 0df0cef into jb-main Sep 19, 2023
1 check passed
@elijah-semyonov elijah-semyonov deleted the es/remove-redundant-synthetic-touches branch September 19, 2023 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants