diff --git a/eeschema/sch_painter.cpp b/eeschema/sch_painter.cpp index 10c72809d7..5664946de8 100644 --- a/eeschema/sch_painter.cpp +++ b/eeschema/sch_painter.cpp @@ -330,12 +330,12 @@ float SCH_PAINTER::getLineWidth( const SCH_ITEM* aItem, bool aDrawingShadows ) { wxCHECK( aItem, static_cast( m_schSettings.m_DefaultWireThickness ) ); - float width = (float) std::max( aItem->GetPenWidth(), m_schSettings.GetDefaultPenWidth() ); + float width = (float) aItem->GetPenWidth(); if( aItem->IsSelected() && aDrawingShadows ) width += getShadowWidth(); - return width; + return std::max( width, 1.0f ); }