diff --git a/common/settings/builtin_color_themes.h b/common/settings/builtin_color_themes.h index cfe444920c..97c581c135 100644 --- a/common/settings/builtin_color_themes.h +++ b/common/settings/builtin_color_themes.h @@ -158,7 +158,7 @@ static const std::map 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 ) }, diff --git a/pcbnew/ratsnest/ratsnest_view_item.cpp b/pcbnew/ratsnest/ratsnest_view_item.cpp index b9a1d49091..4b0683cd64 100644 --- a/pcbnew/ratsnest/ratsnest_view_item.cpp +++ b/pcbnew/ratsnest/ratsnest_view_item.cpp @@ -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 ) {