No need to mapCoords when everything is in same coord system.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18172
This commit is contained in:
parent
5ca3414707
commit
02ca96df48
|
@ -387,7 +387,7 @@ int SYMBOL_EDITOR_MOVE_TOOL::AlignElements( const TOOL_EVENT& aEvent )
|
|||
[&]( EDA_ITEM* item, const VECTOR2I& delta )
|
||||
{
|
||||
commit.Modify( item, m_frame->GetScreen() );
|
||||
static_cast<LIB_ITEM*>( item )->Offset( mapCoords( delta ) );
|
||||
static_cast<LIB_ITEM*>( item )->Offset( delta );
|
||||
updateItem( item, true );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue