Don't desaturate the selection shadow
Selection shadows are helpful when showing which elements are selected and there is no benefit (and some downside) to having their color removed. Fixes https://gitlab.com/kicad/code/kicad/issues/13878
This commit is contained in:
parent
50eaba4211
commit
9f8b25a0b0
|
@ -484,7 +484,7 @@ COLOR4D SCH_PAINTER::getRenderColor( const EDA_ITEM *aItem, int aLayer, bool aDr
|
||||||
color = color.Darken( 0.5f );
|
color = color.Darken( 0.5f );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( aDimmed )
|
if( aDimmed && !( aItem->IsSelected() && aDrawingShadows ) )
|
||||||
{
|
{
|
||||||
COLOR4D sheetColour = m_schSettings.GetLayerColor( LAYER_SCHEMATIC_BACKGROUND );
|
COLOR4D sheetColour = m_schSettings.GetLayerColor( LAYER_SCHEMATIC_BACKGROUND );
|
||||||
color.Desaturate();
|
color.Desaturate();
|
||||||
|
|
Loading…
Reference in New Issue