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

AG-13737 Zoom multitouch #3336

Open
wants to merge 28 commits into
base: latest
Choose a base branch
from
Open

AG-13737 Zoom multitouch #3336

wants to merge 28 commits into from

Conversation

olegat
Copy link
Contributor

@olegat olegat commented Jan 7, 2025

@olegat olegat force-pushed the AG-13737/zoom_multitouch branch 5 times, most recently from 54b7271 to 26c4d2d Compare January 13, 2025 10:57
@olegat olegat marked this pull request as ready for review January 13, 2025 10:57
@olegat olegat requested review from alantreadway, rmc-software and a team as code owners January 13, 2025 10:57
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't typically put implementation docs in the repo - please use Confluence for this, and add a link in the source code.

@olegat olegat force-pushed the AG-13737/zoom_multitouch branch 2 times, most recently from 5f655ab to 87919d3 Compare January 13, 2025 15:47
@olegat olegat force-pushed the AG-13737/zoom_multitouch branch 4 times, most recently from b8861a2 to 28b5afd Compare January 20, 2025 15:38
@olegat olegat force-pushed the AG-13737/zoom_multitouch branch from 28b5afd to 3d57411 Compare January 21, 2025 11:25
Copy link
Contributor

Snapshots automatically updated, please review before merge: diff

olegat added 10 commits January 21, 2025 11:46
This seems to work as intended on the X-axis. The Y-axis has an issue at the
moment (perhaps because the direction of the screen and normalised Y-values is
reversed).

I'll write up my paper math notes once I've got a working solution.
The two-fingers zoompan gesture on the X-axis was working only if the touch[0]
was on the left and touch[1] was on the right. When the positioning of touch[0]
and touch[1] was reversed, so too was the gesture.

Therefore, ensure that x0 <= x1 and a0 <= a1.
@olegat olegat force-pushed the AG-13737/zoom_multitouch branch from 3d57411 to 7abe903 Compare January 21, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants