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

pull request per issue #48 (UNTESTED) #51

Closed
wants to merge 5 commits into from
Closed

Conversation

zaus
Copy link

@zaus zaus commented Jun 11, 2014

  • check direction of mouse movement to prevent enter trigger
  • add better (?) cross-browser event listener, maybe also help with
    issue?

zaus added 5 commits June 11, 2014 10:26
* check direction of mouse movement to prevent _enter_ trigger
* add better (?) cross-browser event listener, maybe also help with
issue?
* included example from http://carlsednaoui.github.io/ouibounce/
* seems that clientY is handled differently between `mousemove` and
`mouseleave` events, maybe screenY is better?
http://stackoverflow.com/questions/6073505/what-is-the-difference-between-screenx-y-clientx-y-and-pagex-y
* seems that getting the Y coord from screenY differs in `mousemove` vs
`mouseleave`
* switch from clientY to screenY necessitates changing sensitivity
accordingly, since screenY includes browser chrome
@zaus
Copy link
Author

zaus commented Jun 12, 2014

Also noticed toGMTString is deprecated, threw that in

@carlsednaoui
Copy link
Owner

Thanks @zaus!

I just implemented the toUTCString change (good call on this, didn't know it was deprecated).

Preventing the event trigger should have been solved in #55 — let me know if this doesn't work for you.

Closing for now — thank you again for submitting the PR!!

😄 🍟 🍔

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