Fix highlighting color logic when net colors are active
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10157
This commit is contained in:
parent
c52421869a
commit
134b09004b
|
@ -312,10 +312,9 @@ COLOR4D PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer ) cons
|
|||
}
|
||||
|
||||
if( netColor == COLOR4D::UNSPECIFIED )
|
||||
{
|
||||
netColor = color;
|
||||
}
|
||||
else if( selected )
|
||||
|
||||
if( selected )
|
||||
{
|
||||
// Selection brightening overrides highlighting
|
||||
netColor.Brighten( m_selectFactor );
|
||||
|
|
Loading…
Reference in New Issue