Fix off-grid block paste
Fixes: lp:1801625 * https://bugs.launchpad.net/kicad/+bug/1801625
This commit is contained in:
parent
830c5e7db7
commit
293bc52299
|
@ -394,6 +394,7 @@ void SCH_EDIT_FRAME::copyBlockItems( PICKED_ITEMS_LIST& aItemsList, const wxPoin
|
|||
|
||||
wxPoint center( ( bounds.GetLeft() + bounds.GetRight() ) / 2,
|
||||
( bounds.GetTop() + bounds.GetBottom() ) / 2 );
|
||||
center = GetNearestGridPosition( center );
|
||||
|
||||
for( unsigned ii = 0; ii < aItemsList.GetCount(); ii++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue