Y
Hacker News
new
|
ask
|
show
|
jobs
by
ryan-c
4087 days ago
It's just an example, but zoom should scale both the element coordinates and the mouse coordinates. This sort of validation can be made a lot more elaborate.