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:
parent
a96ebe8fac
commit
a8c7bb0c92
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue