Use the snapped cursor position used for detection for the wire tool autostart
Fixes #5902
This commit is contained in:
parent
f704d95efd
commit
7e974e5ccc
|
@ -353,7 +353,7 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
|||
newParams->quitOnDraw = true;
|
||||
newEvt->SetParameter( newParams );
|
||||
|
||||
newEvt->SetMousePosition( evt->Position() );
|
||||
newEvt->SetMousePosition( snappedCursorPos );
|
||||
m_toolMgr->ProcessEvent( *newEvt );
|
||||
continueSelect = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue