Play with grid snapping heuristics a littlefor_master/play-with-grid-snapping
commitb5145b2b538355322b70809bf56a61a913253c9c
authorPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 9 Jan 2016 17:30:12 +0000 (9 17:30 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sat, 9 Jan 2016 17:30:12 +0000 (9 17:30 +0000)
tree2d42e1aa79737c0713fc12773912470179208177
parent8cb025ed47bb9d58ffc242af9c5b12ac540fc9a4
Play with grid snapping heuristics a little

Require the pointer to be inside the bounding box of a pin / pad / via before snapping.
This makse it MUCH easier to place vias in a regular grid spaced at the PCB grid spacing.
src/crosshair.c