|
|
@ -495,7 +495,7 @@ bool SCH_PAINTER::setDeviceColors( const LIB_ITEM* aItem, int aLayer ) |
|
|
|
m_gal->SetIsFill( aItem->GetFillMode() == FILL_TYPE::FILLED_SHAPE ); |
|
|
|
m_gal->SetFillColor( getRenderColor( aItem, LAYER_DEVICE, false ) ); |
|
|
|
|
|
|
|
if( aItem->GetPenWidth() > 0 || aItem->GetFillMode() == FILL_TYPE::NO_FILL ) |
|
|
|
if( aItem->GetPenWidth() >= 0 || aItem->GetFillMode() == FILL_TYPE::NO_FILL ) |
|
|
|
{ |
|
|
|
m_gal->SetIsStroke( true ); |
|
|
|
m_gal->SetLineWidth( getLineWidth( aItem, false ) ); |
|
|
|