Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Click incorrectly handled if mouse moved while the window wasn't focused #375
How to reproduce :
It's because of an optimization in stage.js where the mouse position isn't forwarded on click on the basis the computations are done on move.
How to fix :
One way would be to change the
The cost would be to do at each click the same computation that is done on each move. I don't personally think it's important.
Here's a demonstration of how this fix would behave : http://dystroy.org/stackoverflow/EaselJS_bug_moveUnfocused.html