eeschema: Warp to origin when moving - add missing text items
Schematic fields and text items were not being warped to origin when moving.
This commit is contained in:
parent
f847a76ac3
commit
d1bab3116d
|
@ -266,10 +266,16 @@ void EE_GRID_HELPER::computeAnchors( SCH_ITEM *aItem, const VECTOR2I &aRefPos, b
|
|||
{
|
||||
switch( aItem->Type() )
|
||||
{
|
||||
case SCH_TEXT_T:
|
||||
case SCH_FIELD_T:
|
||||
addAnchor( aItem->GetPosition(), ORIGIN, aItem );
|
||||
break;
|
||||
|
||||
case SCH_SYMBOL_T:
|
||||
case SCH_SHEET_T:
|
||||
addAnchor( aItem->GetPosition(), ORIGIN, aItem );
|
||||
KI_FALLTHROUGH;
|
||||
|
||||
case SCH_JUNCTION_T:
|
||||
case SCH_NO_CONNECT_T:
|
||||
case SCH_LINE_T:
|
||||
|
|
Loading…
Reference in New Issue