Snap to footprint origin when dragging
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6633
This commit is contained in:
parent
81ce1a07ee
commit
e8f38e3c18
|
@ -1516,6 +1516,10 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
|
|||
p = snapToItem( startItem, p0 );
|
||||
m_startItem = startItem;
|
||||
}
|
||||
else if( footprint )
|
||||
{
|
||||
p = footprint->GetPosition();
|
||||
}
|
||||
|
||||
int dragMode = aEvent.Parameter<int64_t> ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue