Fix rectangle resizing in LibEdit.
Fixes: lp:1828791 * https://bugs.launchpad.net/kicad/+bug/1828791
This commit is contained in:
parent
3c4f8c1bf7
commit
d290154dd3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue