VIA on solder mask: fix incorrect size (radius) of displayed mask
This commit is contained in:
parent
74c5f5a054
commit
2cb23bd43a
|
@ -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() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue