Fix highlighting color logic when net colors are active
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10157
(cherry picked from commit 134b09004b
)
This commit is contained in:
parent
41e8606fe6
commit
0e2f79ad8d
|
@ -235,10 +235,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