We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
if the canvas is inside a div that can be scrolled the mouse position is no longer correct. I think it can be solved with the solution posted in http://stackoverflow.com/questions/4962710/get-mouse-position-in-scrollable-div but I can't see how to inject the mouse position by myself?
Thanks in advance
The text was updated successfully, but these errors were encountered:
try to get the latest release from github (https://github.com/apsavin/jCanvaScript/blob/master/compile/jCanvaScript.1.5.18.js) and call recalculateOffset() canvas method on scroll event of div.
Sorry, something went wrong.
In first, sorry about sideway comment. I used recalculateOffiset() function in my program, and it works good without any bugs.
thanks.
No branches or pull requests
Hi,
if the canvas is inside a div that can be scrolled the mouse position is no longer correct.
I think it can be solved with the solution posted in http://stackoverflow.com/questions/4962710/get-mouse-position-in-scrollable-div but I can't see how to inject the mouse position by myself?
Thanks in advance
The text was updated successfully, but these errors were encountered: