Eeschema: draw dangling end shadows

(cherry picked from commit bf2c4c1584)
This commit is contained in:
Mike Williams 2021-12-28 10:42:19 -05:00 committed by Seth Hillbrand
parent c83880428c
commit b80595903c
1 changed files with 3 additions and 2 deletions

View File

@ -1251,7 +1251,7 @@ void SCH_PAINTER::draw( const SCH_LINE *aLine, int aLayer )
float width = getLineWidth( aLine, drawingShadows ); float width = getLineWidth( aLine, drawingShadows );
PLOT_DASH_TYPE lineStyle = aLine->GetEffectiveLineStyle(); PLOT_DASH_TYPE lineStyle = aLine->GetEffectiveLineStyle();
if( drawingDangling ) if( drawingDangling || drawingShadows )
{ {
if( aLine->IsStartDangling() && aLine->IsWire() ) if( aLine->IsStartDangling() && aLine->IsWire() )
{ {
@ -1265,6 +1265,7 @@ void SCH_PAINTER::draw( const SCH_LINE *aLine, int aLayer )
getLineWidth( aLine, drawingShadows ), drawingShadows ); getLineWidth( aLine, drawingShadows ), drawingShadows );
} }
if( drawingDangling )
return; return;
} }