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

Updated to cater for multi input systems such as touchscreens with mi… #49

Open
wants to merge 2 commits into
base: 0.1.x
Choose a base branch
from

Conversation

rbnzdave
Copy link

…ce, also corrected cleanup which was only removing mousedown events, not touch.

Sorry for being anal about semicolons, and my intellij decided to format things. basically there is a new listener created for both input methods and both sets of listeners are removed properly afterwards.

…ce, also corrected cleanup which was only removing mousedown events, not touch.
@rbnzdave
Copy link
Author

(we had a case where on a new touchscreen lappy, the code would opt to enable touch but not mouse as they were exclusive on the touch property (removed))

@Fuzzyma
Copy link
Member

Fuzzyma commented Oct 20, 2015

I cant rly see your chances cause of all this stuff around.
The missing semicolons are part of the coding style and you should adapt to used style instead of using your own.
Please PR only the changes you actually made and remove all this stuff around. That leads to a cleaner commit where you can actually see what changed

@rbnzdave
Copy link
Author

That better ?

@nolazybits
Copy link

Could we have this merged into 1.x bench please?

@Fuzzyma
Copy link
Member

Fuzzyma commented Oct 27, 2015

I am pretty sure, that a touchstart also triggers a mousedown in some browsers so the drag would start twice which would be bad. Any Idea on how to fix that?

@rbnzdave
Copy link
Author

Please elaborate on which browsers these would be ?

We haven't come across any browsers which behave in this manner, plus I dont know why it would be bad, worst case scenario it would output the same change to the movement in both listeners, and even then it also kills off all new listeners when unloaded anyway.

@Fuzzyma
Copy link
Member

Fuzzyma commented Nov 5, 2015

sorry again for the long delay. I think you are right.
I am sorry to be a pain in the ass but your code formatter still broke a lot of things.
Do you mind creating a fresh PR with ONLY your changes?

PS: also dont forget to run the grunt task after changing the source

@Fuzzyma
Copy link
Member

Fuzzyma commented Feb 24, 2020

5 years in and I finally come back to this. Making it short: I will go over this tomorrow and most likely adapt to whats needed here

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.

3 participants