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 ),
|
pinEditedCorner( getEditedPointIndex(), Mils2iu( 1 ), Mils2iu( 1 ),
|
||||||
topLeft, topRight, botLeft, botRight );
|
topLeft, topRight, botLeft, botRight );
|
||||||
|
|
||||||
rect->SetPosition( (wxPoint) topLeft );
|
rect->SetPosition( mapCoords( topLeft ) );
|
||||||
rect->SetEnd( (wxPoint) botRight );
|
rect->SetEnd( mapCoords( botRight ) );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue