philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

Incorrect node on event #128

Open rosieks opened 12 years ago

rosieks commented 12 years ago

I have two nodes under cursor - when I click mouse button then instead get front node I get node from the bottom. I think that problem can be easily fix by iterating by nodes in reverse order than painting in function getNode.

Another problem is when I move mouse. When move mouse on place where two nodes have collision then I get bottom node instead of the top node.