Draw lines in wire, bus, or graphic color.

This commit is contained in:
Jeff Young 2018-09-06 23:18:48 +01:00
parent fa0124bee7
commit 4fe58922aa
1 changed files with 1 additions and 1 deletions

View File

@ -892,7 +892,7 @@ void SCH_PAINTER::draw( SCH_JUNCTION *aJct, int aLayer )
void SCH_PAINTER::draw( SCH_LINE *aLine, int aLayer )
{
COLOR4D color = m_schSettings.GetLayerColor( LAYER_WIRE );
COLOR4D color = aLine->GetLineColor();
if( aLine->GetState( BRIGHTENED ) )
color = m_schSettings.GetLayerColor( LAYER_BRIGHTENED );