router: fixed snapping to end items
This commit is contained in:
parent
4d0c1577d2
commit
667d32c4ab
|
@ -301,7 +301,7 @@ void TOOL_BASE::updateEndItem( const TOOL_EVENT& aEvent )
|
|||
VECTOR2I p = snapToItem( snapEnabled, endItem, mousePos );
|
||||
controls()->ForceCursorPosition( true, p );
|
||||
m_endItem = endItem;
|
||||
m_endSnapPoint = cursorPos;
|
||||
m_endSnapPoint = p;
|
||||
} else {
|
||||
m_endItem = nullptr;
|
||||
m_endSnapPoint = cursorPos;
|
||||
|
|
Loading…
Reference in New Issue