diff --git a/eeschema/sch_painter.cpp b/eeschema/sch_painter.cpp index 5a31b257da..ff21d99e1e 100644 --- a/eeschema/sch_painter.cpp +++ b/eeschema/sch_painter.cpp @@ -1264,11 +1264,11 @@ void SCH_PAINTER::draw( const LIB_TEXTBOX* aTextBox, int aLayer, bool aDimmed ) || borderColor == COLOR4D::UNSPECIFIED ) { borderColor = m_schSettings.GetLayerColor( aLayer ); - - if( transparency > 0.0 ) - borderColor = borderColor.WithAlpha( borderColor.a * ( 1.0 - transparency ) ); } + if( transparency > 0.0 ) + borderColor = borderColor.WithAlpha( borderColor.a * ( 1.0 - transparency ) ); + if( aDimmed ) { borderColor = borderColor.Mix( bg, 0.5f );