From a709d97a320a893a67b086360388c3730a4bc1b8 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 12 Jan 2022 11:08:34 +0100 Subject: [PATCH] SCH_LABEL_BASE::Plot(): Plot fields. --- eeschema/sch_painter.cpp | 3 --- eeschema/sch_text.cpp | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eeschema/sch_painter.cpp b/eeschema/sch_painter.cpp index f44050f16c..bc5fab1867 100644 --- a/eeschema/sch_painter.cpp +++ b/eeschema/sch_painter.cpp @@ -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. diff --git a/eeschema/sch_text.cpp b/eeschema/sch_text.cpp index 2ea021755a..eae1d9ce4f 100644 --- a/eeschema/sch_text.cpp +++ b/eeschema/sch_text.cpp @@ -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 ); }