parent
c95db272ca
commit
94a7d1647f
|
@ -1264,11 +1264,11 @@ void SCH_PAINTER::draw( const LIB_TEXTBOX* aTextBox, int aLayer, bool aDimmed )
|
||||||
|| borderColor == COLOR4D::UNSPECIFIED )
|
|| borderColor == COLOR4D::UNSPECIFIED )
|
||||||
{
|
{
|
||||||
borderColor = m_schSettings.GetLayerColor( aLayer );
|
borderColor = m_schSettings.GetLayerColor( aLayer );
|
||||||
|
|
||||||
if( transparency > 0.0 )
|
|
||||||
borderColor = borderColor.WithAlpha( borderColor.a * ( 1.0 - transparency ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( transparency > 0.0 )
|
||||||
|
borderColor = borderColor.WithAlpha( borderColor.a * ( 1.0 - transparency ) );
|
||||||
|
|
||||||
if( aDimmed )
|
if( aDimmed )
|
||||||
{
|
{
|
||||||
borderColor = borderColor.Mix( bg, 0.5f );
|
borderColor = borderColor.Mix( bg, 0.5f );
|
||||||
|
|
Loading…
Reference in New Issue