Update SCH_SHAPE::Plot() to handle all fill styles.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16429
This commit is contained in:
Jeff Young 2023-12-21 22:06:14 +00:00
parent ee0fff97f9
commit 1ca82035ae
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ void SCH_SHAPE::Plot( PLOTTER* aPlotter, bool aBackground,
if( !aPlotter->GetColorMode() )
return;
if( m_fill == FILL_T::FILLED_WITH_COLOR && GetFillColor() != COLOR4D::UNSPECIFIED )
if( IsFilled() )
{
if( GetFillColor() != COLOR4D::UNSPECIFIED )
aPlotter->SetColor( GetFillColor() );