Increase dynamic ratsnest opacity for better visibility.
This commit is contained in:
parent
04fec5016b
commit
2577ebb94d
|
@ -158,7 +158,7 @@ static const std::map<int, COLOR4D> s_defaultTheme =
|
|||
{ LAYER_PAD_PLATEDHOLES, CSS_COLOR( 194, 194, 0, 1 ) },
|
||||
{ LAYER_PADS_TH, CSS_COLOR( 227, 183, 46, 1 ) },
|
||||
{ LAYER_NON_PLATEDHOLES, CSS_COLOR( 26, 196, 210, 1 ) },
|
||||
{ LAYER_RATSNEST, CSS_COLOR( 245, 255, 213, 0.702 ) },
|
||||
{ LAYER_RATSNEST, CSS_COLOR( 245, 255, 213, 0.6 ) },
|
||||
{ LAYER_SELECT_OVERLAY, CSS_COLOR( 4, 255, 67, 1 ) },
|
||||
{ LAYER_VIA_THROUGH, CSS_COLOR( 236, 236, 236, 1 ) },
|
||||
{ LAYER_VIA_BBLIND, CSS_COLOR( 187, 151, 38, 1 ) },
|
||||
|
|
|
@ -124,7 +124,7 @@ void RATSNEST_VIEW_ITEM::ViewDraw( int aLayer, KIGFX::VIEW* aView ) const
|
|||
if( color == COLOR4D::UNSPECIFIED )
|
||||
color = defaultColor;
|
||||
|
||||
gal->SetStrokeColor( color.Brightened( 0.5 ) );
|
||||
gal->SetStrokeColor( color.Brightened( 0.5 ).WithAlpha( std::min( 1.0, color.a + 0.4 ) ) );
|
||||
|
||||
if( l.a == l.b )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue