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:
Jeff Young 2024-06-07 17:58:19 +01:00
parent 5ca3414707
commit 02ca96df48
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
};