pcbnew: Get correct end when dragging
The selection for interactive drag uses cursor position off grid to choose the element for dragging. We pass the same value into the start dragging routine to choose the correct end of the element. Fixes: lp:1813665 * https://bugs.launchpad.net/kicad/+bug/1813665
This commit is contained in:
parent
577bb73320
commit
cf6ba6ad94
|
@ -1172,7 +1172,7 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
|
|||
return 0;
|
||||
}
|
||||
|
||||
VECTOR2I p0 = controls()->GetCursorPosition();
|
||||
VECTOR2I p0 = controls()->GetCursorPosition( false );
|
||||
|
||||
int dragMode = aEvent.Parameter<int64_t> ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue