Commit e9bc7b58 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Maciej Suminski

Snap cursor to pad center when moving (GAL footprint editor).

parent b3b79196
......@@ -219,6 +219,15 @@ void GRID_HELPER::computeAnchors( BOARD_ITEM* aItem, const VECTOR2I& aRefPos )
break;
}
case PCB_PAD_T:
{
D_PAD* pad = static_cast<D_PAD*>( aItem );
addAnchor( pad->GetPosition(), CORNER | SNAPPABLE, pad );
break;
}
case PCB_MODULE_EDGE_T:
case PCB_LINE_T:
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment