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

Translate pointer event coordinates to screen coordinates. #72

Merged
merged 2 commits into from
Sep 10, 2018

Commits on Sep 5, 2018

  1. Translate pointer event coordinates to screen coordinates.

    This fixes the case for layers that have transforms applied
    (for example, rotations of 90, 180, 270 degrees)
    guillerodriguez committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    8fe84f2 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Fix previous commit.

    Pointer events are already in screen coordinates, and in any case
    screen cordinates are not what we want here. Instead, use the "local"
    event coordinates (translated to the hit layer's coordinate space).
    guillerodriguez committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    c2d0e01 View commit details
    Browse the repository at this point in the history