From b80595903c5e52c89007daba4c9cfe9fc1030c55 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Tue, 28 Dec 2021 10:42:19 -0500 Subject: [PATCH] Eeschema: draw dangling end shadows (cherry picked from commit bf2c4c15846d06993fc25178d7dde707be68cedc) --- eeschema/sch_painter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eeschema/sch_painter.cpp b/eeschema/sch_painter.cpp index d1e4e53e1d..e8b6ece161 100644 --- a/eeschema/sch_painter.cpp +++ b/eeschema/sch_painter.cpp @@ -1251,7 +1251,7 @@ void SCH_PAINTER::draw( const SCH_LINE *aLine, int aLayer ) float width = getLineWidth( aLine, drawingShadows ); PLOT_DASH_TYPE lineStyle = aLine->GetEffectiveLineStyle(); - if( drawingDangling ) + if( drawingDangling || drawingShadows ) { if( aLine->IsStartDangling() && aLine->IsWire() ) { @@ -1265,7 +1265,8 @@ void SCH_PAINTER::draw( const SCH_LINE *aLine, int aLayer ) getLineWidth( aLine, drawingShadows ), drawingShadows ); } - return; + if( drawingDangling ) + return; } m_gal->SetIsStroke( true );