Use the snapped cursor position used for detection for the wire tool autostart

Fixes #5902
This commit is contained in:
Marek Roszko 2020-10-07 23:57:26 -04:00
parent f704d95efd
commit 7e974e5ccc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}