Fix footprint hittesting. (How in the world did that compile?)

This commit is contained in:
Jeff Young 2021-02-26 17:44:36 +00:00
parent c7a71b44e5
commit c716313a24
1 changed files with 1 additions and 1 deletions

View File

@ -919,7 +919,7 @@ bool FOOTPRINT::HitTest( const EDA_RECT& aRect, bool aContained, int aAccuracy )
arect.Inflate( aAccuracy );
if( aContained )
return arect.Contains( false, false );
return arect.Contains( GetBoundingBox( false, false ) );
else
{
// If the rect does not intersect the bounding box, skip any tests