SCH_LABEL_BASE::Plot(): Plot fields.

This commit is contained in:
jean-pierre charras 2022-01-12 11:08:34 +01:00
parent b3072cc16b
commit a709d97a32
2 changed files with 3 additions and 3 deletions

View File

@ -1679,13 +1679,10 @@ void SCH_PAINTER::draw( const SCH_FIELD *aField, int aLayer )
if( drawingShadows && !eeconfig()->m_Selection.draw_selected_children )
return;
bool underline = false;
if( aField->IsHypertext() && ( aField->GetFlags() & IS_ROLLOVER ) > 0
&& !drawingShadows && !aField->IsMoving() )
{
color = PUREBLUE;
underline = true;
}
// Calculate the text orientation according to the parent orientation.

View File

@ -1270,6 +1270,9 @@ void SCH_LABEL_BASE::Plot( PLOTTER* aPlotter ) const
if( s_poly.size() )
aPlotter->PlotPoly( s_poly, FILL_T::NO_FILL, penWidth );
for( const SCH_FIELD& field : m_fields )
field.Plot( aPlotter );
}