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

This commit is contained in:
Tomasz Wlostowski 2015-03-11 18:06:44 +01:00 committed by Maciej Suminski
parent b3b791961a
commit e9bc7b58cc
1 changed files with 9 additions and 0 deletions

View File

@ -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:
{