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:
parent
3600b2ce3f
commit
58c38d2830
|
@ -739,9 +739,11 @@ void SCH_PAINTER::draw( const LIB_SHAPE *aShape, int aLayer )
|
||||||
m_gal->SetFillColor( getRenderColor( aShape, LAYER_DEVICE, false ) );
|
m_gal->SetFillColor( getRenderColor( aShape, LAYER_DEVICE, false ) );
|
||||||
else
|
else
|
||||||
m_gal->SetFillColor( color );
|
m_gal->SetFillColor( color );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
m_gal->SetFillColor( aShape->GetFillColor() );
|
m_gal->SetFillColor( aShape->GetFillColor() );
|
||||||
|
}
|
||||||
|
|
||||||
drawShape( aShape );
|
drawShape( aShape );
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,9 +64,7 @@ public:
|
||||||
|
|
||||||
PLOT_DASH_TYPE GetEffectiveLineStyle() const
|
PLOT_DASH_TYPE GetEffectiveLineStyle() const
|
||||||
{
|
{
|
||||||
if( IsFilled() )
|
if( m_stroke.GetPlotStyle() == PLOT_DASH_TYPE::DEFAULT )
|
||||||
return PLOT_DASH_TYPE::SOLID;
|
|
||||||
else if( m_stroke.GetPlotStyle() == PLOT_DASH_TYPE::DEFAULT )
|
|
||||||
return PLOT_DASH_TYPE::DASH;
|
return PLOT_DASH_TYPE::DASH;
|
||||||
else
|
else
|
||||||
return m_stroke.GetPlotStyle();
|
return m_stroke.GetPlotStyle();
|
||||||
|
|
Loading…
Reference in New Issue