VIA on solder mask: fix incorrect size (radius) of displayed mask

This commit is contained in:
jean-pierre charras 2023-07-11 17:35:30 +02:00
parent 74c5f5a054
commit 2cb23bd43a
1 changed files with 1 additions and 1 deletions

View File

@ -1006,7 +1006,7 @@ void PCB_PAINTER::draw( const PCB_VIA* aVia, int aLayer )
m_gal->SetIsStroke( false );
m_gal->SetLineWidth( margin );
m_gal->DrawCircle( center, ( aVia->GetWidth() + margin ) / 2.0 );
m_gal->DrawCircle( center, aVia->GetWidth() / 2.0 + margin );
}
else if( aLayer == LAYER_VIA_THROUGH || m_pcbSettings.IsPrinting() )
{