levg34 / equusregina

What are the possible moves with a horse to get from A to B ?
https://levg34.github.io/equusregina
0 stars 0 forks source link

problem with scrolling and click detection #20

Closed levg34 closed 7 years ago

levg34 commented 7 years ago

If the user scrolls, the function getPos(el) in main.js fails to return the correct position, hence a problem to detect user click on canvas