Move library text items to LAYER_DEVICE. Only sch text items belong on LAYER_NOTES.

Fixes: lp:1800350
* https://bugs.launchpad.net/kicad/+bug/1800350
This commit is contained in:
Jeff Young 2018-10-28 15:19:23 +00:00
parent a96ebe8fac
commit a8c7bb0c92
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ LIB_TEXT::LIB_TEXT( LIB_PART * aParent ) :
void LIB_TEXT::ViewGetLayers( int aLayers[], int& aCount ) const
{
aCount = 1;
aLayers[0] = LAYER_NOTES;
aLayers[0] = LAYER_DEVICE;
}

View File

@ -425,7 +425,7 @@ void SCH_PAINTER::draw( LIB_TEXT *aText, int aLayer )
if( !isUnitAndConversionShown( aText ) )
return;
COLOR4D color = m_schSettings.GetLayerColor( LAYER_NOTES );
COLOR4D color = m_schSettings.GetLayerColor( LAYER_DEVICE );
if( aText->IsMoving() || aText->GetParent()->IsMoving() )
color = selectedBrightening( color );