Skip to content

It fails managing pinch to zoom #15

@ArLabDev

Description

@ArLabDev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions