Repair over-zealous grid change.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15526
This commit is contained in:
parent
c3d6fecccc
commit
6f1a41f810
|
@ -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…
Reference in New Issue