From cafd42911ed1ccef06a322ac3f100a9c38446541 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Wed, 7 Jul 2021 22:04:11 -0400 Subject: [PATCH] Do not use opacity for zone outlines The opacity is intended to aid seeing through zone filled areas and applying it to outlines makes them hard to see and select. --- pcbnew/pcb_painter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 286c025dfa..e9befae71a 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -1695,7 +1695,7 @@ void PCB_PAINTER::draw( const ZONE* aZone, int aLayer ) if( m_pcbSettings.m_zoneOutlines && outline && outline->OutlineCount() > 0 ) { - m_gal->SetStrokeColor( color ); + m_gal->SetStrokeColor( color.WithAlpha( 1.0 ) ); m_gal->SetIsFill( false ); m_gal->SetIsStroke( true ); m_gal->SetLineWidth( m_pcbSettings.m_outlineWidth );