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:
jean-pierre charras 2020-03-30 13:26:14 +02:00
parent 6e47f147aa
commit 9c2a260a27
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,7 @@ void SCH_FIELD::SetPosition( const wxPoint& aPosition )
InverseTransform().TransformCoordinate( relativePos );
SetTextPos( relativePos + parentComponent->GetPosition() );
return;
}
SetTextPos( aPosition );