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

Replace method to get offset in touch event #13

Merged
merged 2 commits into from
Sep 18, 2021

Commits on Sep 13, 2021

  1. Replace method to get offset

    Loop through parent nodes to get offset from top of page since Element.getBoundingClientRect() returns offset to top of screen
    jaarenhoevel committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    4026cbe View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Use touch.clientX and touch.clientY instead of touch.pageX and touch.…

    …pageY
    János Arenhövel committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    0acdbf3 View commit details
    Browse the repository at this point in the history