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

Touchmove event for crosshair #221

Open
matricore opened this issue Mar 23, 2018 · 2 comments
Open

Touchmove event for crosshair #221

matricore opened this issue Mar 23, 2018 · 2 comments

Comments

@matricore
Copy link

I needed support for "touchmove" event on crosshair like mousemove. So I've added it directly with one line as below:

Find below on techan.js.

.on('mousemove', mousemoveRefresh(group, pathVerticalSelection, pathHorizontalSelection,
          xAnnotationSelection, yAnnotationSelection)
)

Add right after it

.on('touchmove', mousemoveRefresh(group, pathVerticalSelection, pathHorizontalSelection,
          xAnnotationSelection, yAnnotationSelection)
)
@caos30
Copy link

caos30 commented Apr 3, 2018

Thanks!

@shkim
Copy link

shkim commented Mar 14, 2021

it seems like not working from the second touchmove.

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

3 participants