diff --git a/pcbnew/tools/grid_helper.cpp b/pcbnew/tools/grid_helper.cpp index ce58c47f82..fe19b32b0a 100644 --- a/pcbnew/tools/grid_helper.cpp +++ b/pcbnew/tools/grid_helper.cpp @@ -283,7 +283,7 @@ VECTOR2I GRID_HELPER::BestSnapAnchor( const VECTOR2I& aOrigin, const LSET& aLaye { double snapDist = nearest->Distance( aOrigin ); - if( nearest && snapDist < gridDist ) + if( nearest && snapDist <= gridDist ) { m_viewSnapPoint.SetPosition( nearest->pos ); m_frame->GetGalCanvas()->GetView()->SetVisible( &m_viewSnapPoint, true );