Fix rectangle resizing in LibEdit.

Fixes: lp:1828791
* https://bugs.launchpad.net/kicad/+bug/1828791
This commit is contained in:
Jeff Young 2019-05-13 17:14:50 +01:00
parent 3c4f8c1bf7
commit d290154dd3
1 changed files with 2 additions and 2 deletions

View File

@ -464,8 +464,8 @@ void EE_POINT_EDITOR::updateItem() const
pinEditedCorner( getEditedPointIndex(), Mils2iu( 1 ), Mils2iu( 1 ),
topLeft, topRight, botLeft, botRight );
rect->SetPosition( (wxPoint) topLeft );
rect->SetEnd( (wxPoint) botRight );
rect->SetPosition( mapCoords( topLeft ) );
rect->SetEnd( mapCoords( botRight ) );
break;
}