Browse Source

Repair over-zealous grid change.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15526
newinvert
Jeff Young 2 years ago
parent
commit
6f1a41f810
  1. 3
      eeschema/tools/symbol_editor_move_tool.cpp

3
eeschema/tools/symbol_editor_move_tool.cpp

@ -238,8 +238,7 @@ bool SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection( const TOOL_EVENT& aEvent, SCH_COM
else if( m_frame->GetMoveWarpsCursor() )
{
VECTOR2I itemPos = selection.GetTopLeftItem()->GetPosition();
m_anchorPos = grid.AlignGrid( VECTOR2I( itemPos.x, -itemPos.y ),
grid.GetSelectionGrid( selection ) );
m_anchorPos = VECTOR2I( itemPos.x, -itemPos.y );
getViewControls()->WarpMouseCursor( m_anchorPos, true, true );
m_cursor = m_anchorPos;

Loading…
Cancel
Save