Honour override-individual-item-colors setting for filled shapes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15572
This commit is contained in:
parent
07ecdc5fbb
commit
d593257fbd
eeschema
|
@ -841,7 +841,11 @@ bool SCH_PAINTER::setDeviceColors( const LIB_ITEM* aItem, int aLayer, bool aDimm
|
|||
{
|
||||
COLOR4D fillColour = shape->GetFillColor();
|
||||
|
||||
if( aDimmed )
|
||||
if( m_schSettings.m_OverrideItemColors )
|
||||
{
|
||||
fillColour = getRenderColor( aItem, LAYER_DEVICE_BACKGROUND, false, aDimmed );
|
||||
}
|
||||
else if( aDimmed )
|
||||
{
|
||||
fillColour = fillColour.Mix(
|
||||
m_schSettings.GetLayerColor( LAYER_SCHEMATIC_BACKGROUND ), 0.5f );
|
||||
|
|
Loading…
Reference in New Issue