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

Send original event. #20

Closed
wants to merge 1 commit into from
Closed

Send original event. #20

wants to merge 1 commit into from

Conversation

kabudahab
Copy link

No description provided.

@dy
Copy link
Owner

dy commented May 5, 2020

It works only for the wheel listener, but not for pinch/move - I was trying to do that not once.
The impetus and touch-pinch don't expose event afaik, so it either needs to be fake or lobby PRs somehow.

@kabudahab
Copy link
Author

This sends the original event of the wheel listener and can be used to detect whether Ctlr key is down when scrolling. At the moment, event is undefined for all events.

@dy
Copy link
Owner

dy commented May 5, 2020

This event property is inconsistent for pinch/move, needs to be added for them too.

@kabudahab
Copy link
Author

kabudahab commented May 5, 2020

Inconsistent event property is better than undefined. I am happy with how it works now, so I will close.

@kabudahab kabudahab closed this May 5, 2020
@dy
Copy link
Owner

dy commented May 5, 2020

Just for the reference #17, #18.
I suppose it may be updated from impetus/touch-pinch to something new.

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

Successfully merging this pull request may close these issues.

2 participants