Reduce the artificial gravity for selecting vias by a bit.

Fixes https://gitlab.com/kicad/code/kicad/issues/9563
This commit is contained in:
Jeff Young 2021-11-08 20:11:41 +00:00
parent 81fc7c71d1
commit d0014a307d
1 changed files with 2 additions and 2 deletions

View File

@ -2463,8 +2463,8 @@ void PCB_SELECTION_TOOL::GuessSelectionCandidates( GENERAL_COLLECTOR& aCollector
else if( item->Type() == PCB_VIA_T )
{
// Vias rarely hide other things, and we don't want them deferring to short track
// segments -- so make them artificially small by dropping the π from πr².
area = SEG::Square( static_cast<PCB_VIA*>( item )->GetDrill() / 2 );
// segments underneath them -- so artificially reduce their size from πr² to 1.5r².
area = SEG::Square( static_cast<PCB_VIA*>( item )->GetDrill() / 2 ) * 1.5;
}
else
{