-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Use native e.detail click count in event.addMultiMouseDownListener #1225
Conversation
if (e.detail > 1) {
clicks++
if (clicks > 4)
clicks = 1
} else {
clicks = 1
} seems to work relatively well for all browsers, but quad and triple click timeouts are wrong, i think they must be shorter than double click |
They are shorter in Firefox implementation. But all windows apps I tested have the same timeout for all clicks in a row. Opera ignores system setting and uses it's own timeout. |
So, can it be merged? I'm updating my native dnd branch. |
Cool! Looking forward to that. I am not really sure about this, 4-click timing feels too off, but maybe i am unnecessarily picky about it. |
closing since this is included in #1431 |
There is the issue in IE. It does not take into account distance between click locations. I file the bug here. |
Funny, now they do not take into account even the time between clicks #1751 :) |
Fixes #978 in non-gecko browsers .
WebKit need this to support native d'n'd properly.