Allow snapItem to be re-activated.

Don't clear until another snapPoint is chosen.  This allows line
snapping to re-appear when they move back in range.

Fixes https://gitlab.com/kicad/code/kicad/issues/5973
This commit is contained in:
Jeff Young 2020-12-05 23:56:45 +00:00
parent 68947864a1
commit 4f90c03c7d
1 changed files with 0 additions and 2 deletions

View File

@ -366,8 +366,6 @@ VECTOR2I EE_GRID_HELPER::BestSnapAnchor( const VECTOR2I& aOrigin, int aLayer,
}
else
{
m_snapItem = nullptr;
m_toolMgr->GetView()->SetVisible( &m_viewSnapPoint, false );
m_toolMgr->GetView()->SetVisible( &m_viewSnapLine, false );
}