Don't skip highlighting selected NPTH/via holes
This commit is contained in:
parent
b6ddef7162
commit
64221b95c9
|
@ -90,7 +90,8 @@ void RENDER_SETTINGS::update()
|
|||
m_layerColorsHi[i] = m_layerColors[i].Brightened( m_highlightFactor );
|
||||
m_layerColorsDark[i] = m_layerColors[i].Darkened( 1.0 - m_highlightFactor );
|
||||
|
||||
if( IsNetnameLayer( i ) || IsHoleLayer( i ) )
|
||||
// Skip selection brightening for things close to black, and netname text
|
||||
if( IsNetnameLayer( i ) || m_layerColors[i].GetBrightness() < 0.05 )
|
||||
{
|
||||
m_layerColorsSel[i] = m_layerColors[i];
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue