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

It fails managing pinch to zoom #15

Open
ArLabDev opened this issue Apr 13, 2021 · 0 comments
Open

It fails managing pinch to zoom #15

ArLabDev opened this issue Apr 13, 2021 · 0 comments

Comments

@ArLabDev
Copy link

I use a chart inside the rotate-layout.
It works well with touch and drag. But it does not with multitouch (pinch to zoom), it works like if it isn't rotate.

I cloned the repo to fix it myself, but I was not able to compile it (I lost two hours trying to do it)

I think that the problem is that in dispatchTouchEvent() is modified only one pointer (the first).
The solution should be to modify all positions, but since the MotionEvent does not have methods to do that, a new MotionEvent must be created. Check this solution

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

No branches or pull requests

1 participant