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

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16429

(cherry picked from commit 1ca82035ae)
This commit is contained in:
Jeff Young 2023-12-21 22:06:14 +00:00
parent 18e3227c9a
commit b597a4559f
1 changed files with 1 additions and 1 deletions

View File

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