Don't nanny users about what constitutes quality graphics.

Fixes https://gitlab.com/kicad/code/kicad/issues/10788

Fixes https://gitlab.com/kicad/code/kicad/issues/10374
This commit is contained in:
Jeff Young 2022-02-08 17:32:26 +00:00
parent 3600b2ce3f
commit 58c38d2830
2 changed files with 4 additions and 4 deletions

View File

@ -739,9 +739,11 @@ void SCH_PAINTER::draw( const LIB_SHAPE *aShape, int aLayer )
m_gal->SetFillColor( getRenderColor( aShape, LAYER_DEVICE, false ) );
else
m_gal->SetFillColor( color );
}
}
else
{
m_gal->SetFillColor( aShape->GetFillColor() );
}
drawShape( aShape );
}

View File

@ -64,9 +64,7 @@ public:
PLOT_DASH_TYPE GetEffectiveLineStyle() const
{
if( IsFilled() )
return PLOT_DASH_TYPE::SOLID;
else if( m_stroke.GetPlotStyle() == PLOT_DASH_TYPE::DEFAULT )
if( m_stroke.GetPlotStyle() == PLOT_DASH_TYPE::DEFAULT )
return PLOT_DASH_TYPE::DASH;
else
return m_stroke.GetPlotStyle();