Eeschema: Fix SCH_FIELD::SetPosition() bug
Fixes #4129 https://gitlab.com/kicad/code/kicad/issues/4129 Fixes #4062 https://gitlab.com/kicad/code/kicad/issues/4062
This commit is contained in:
parent
6e47f147aa
commit
9c2a260a27
|
@ -529,6 +529,7 @@ void SCH_FIELD::SetPosition( const wxPoint& aPosition )
|
||||||
InverseTransform().TransformCoordinate( relativePos );
|
InverseTransform().TransformCoordinate( relativePos );
|
||||||
|
|
||||||
SetTextPos( relativePos + parentComponent->GetPosition() );
|
SetTextPos( relativePos + parentComponent->GetPosition() );
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetTextPos( aPosition );
|
SetTextPos( aPosition );
|
||||||
|
|
Loading…
Reference in New Issue