Move sheetpins by their connection point
Need to calculate the sheet pin anchor position in order to get it
aligned to the grid while moving
Fixes https://gitlab.com/kicad/code/kicad/issues/12134
(cherry picked from commit 225b03d702
)
This commit is contained in:
parent
b50d7adaeb
commit
7f71eef45b
|
@ -294,6 +294,7 @@ void EE_GRID_HELPER::computeAnchors( SCH_ITEM *aItem, const VECTOR2I &aRefPos, b
|
|||
case SCH_HIER_LABEL_T:
|
||||
case SCH_LABEL_T:
|
||||
case SCH_BUS_WIRE_ENTRY_T:
|
||||
case SCH_SHEET_PIN_T:
|
||||
{
|
||||
std::vector<wxPoint> pts = aItem->GetConnectionPoints();
|
||||
|
||||
|
|
Loading…
Reference in New Issue