Fix an issue created by commit 9e3362d1
.
the issue was the graphic cursor was locked on the first snap point in route mode, once a snap point is found.
This commit is contained in:
parent
cf1d5f5724
commit
302c5ab537
|
@ -279,7 +279,7 @@ void TOOL_BASE::updateStartItem( const TOOL_EVENT& aEvent, bool aIgnorePads )
|
|||
else
|
||||
p = cp;
|
||||
|
||||
m_startItem = pickSingleItem( cp, -1, -1, aIgnorePads );
|
||||
m_startItem = pickSingleItem( aEvent.IsClick() ? cp : p, -1, -1, aIgnorePads );
|
||||
|
||||
if( !m_gridHelper->GetUseGrid() && m_startItem && !m_startItem->Layers().Overlaps( tl ) )
|
||||
m_startItem = nullptr;
|
||||
|
|
Loading…
Reference in New Issue