crosshair.c: Snap to later-tested objects equi-distant with the current snap.
commitd7dc68fddf0324f5601b2c54fa82df20ae4fa81a
authorPeter Clifton <pcjc2@cam.ac.uk>
Fri, 16 Dec 2011 00:56:07 +0000 (16 00:56 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Fri, 16 Dec 2011 00:56:36 +0000 (16 00:56 +0000)
tree8cb60c5ffac8f94ef489a8e73f544789d2e7086f
parentb90fb6ae22ae83fdc0c802268dcbe74005bc705e
crosshair.c: Snap to later-tested objects equi-distant with the current snap.

This inequality adjustment means that when an element mark is on-grid, and
the first-snap is a grid location snap, the test against the element mark
will now pass, and mark the snap as a non-grid snap.

This fixes the rather irritating bug where certain footprints, such as SMT
resistors became impossible to grab by their element mark when that mark
landed exactly on a grid point.
src/crosshair.c