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

mouse detection wrong if there're elements before <div id="wrapper"> #12

Open
by321 opened this issue Mar 16, 2019 · 0 comments
Open

mouse detection wrong if there're elements before <div id="wrapper"> #12

by321 opened this issue Mar 16, 2019 · 0 comments

Comments

@by321
Copy link
Contributor

by321 commented Mar 16, 2019

For example, if you add a line of text before <div id="wrapper">:

<body id="tower-defense">
a line of text
<div id="wrapper">

then within the canvas, mouse detection would be off by the height of text. I assume the same problem exists in x-direction too.

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

No branches or pull requests

1 participant