From 02ca96df48533ed4066cd2724de10938669f9e55 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 7 Jun 2024 17:58:19 +0100 Subject: [PATCH] No need to mapCoords when everything is in same coord system. Fixes https://gitlab.com/kicad/code/kicad/-/issues/18172 --- eeschema/tools/symbol_editor_move_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/tools/symbol_editor_move_tool.cpp b/eeschema/tools/symbol_editor_move_tool.cpp index ef144eeac5..9788c357b9 100644 --- a/eeschema/tools/symbol_editor_move_tool.cpp +++ b/eeschema/tools/symbol_editor_move_tool.cpp @@ -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( item )->Offset( mapCoords( delta ) ); + static_cast( item )->Offset( delta ); updateItem( item, true ); };