leomcelroy / svg-pcb

Design PCBs in the Browser
https://www.leomcelroy.com/svg-pcb-website
GNU General Public License v3.0
68 stars 9 forks source link

Add snap to pad #7

Closed kr15h closed 1 year ago

kr15h commented 1 year ago

Figured a simple way to add the snap to pad feature based on how the snapToGrid was implemented.

kr15h commented 1 year ago

This includes a UI checkbox, under adaptiveGrid in the drawing menu, to enable/disable the feature.

kr15h commented 1 year ago

WIll prepare a clean version without the point scaling