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:
parent
68947864a1
commit
4f90c03c7d
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue