From d513a9fe5cf0a8fbf81ef78a8799b9f2206e5e23 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 28 Mar 2023 13:01:08 -0700 Subject: [PATCH] Locked shadow needs to be in shadow color Otherwise, text shadow is stroked by text color (cherry picked from commit f93fde15b7abc3350c65e72f6d0e833e4925cf9f) --- pcbnew/pcb_painter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 96ff62a6af..0ef7c2b5a0 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -1949,6 +1949,7 @@ void PCB_PAINTER::draw( const PCB_TEXT* aText, int aLayer ) m_gal->SetIsFill( true ); m_gal->SetIsStroke( true ); m_gal->SetFillColor( color ); + m_gal->SetStrokeColor( color ); m_gal->SetLineWidth( m_lockedShadowMargin ); SHAPE_POLY_SET poly;