From 2142ad20b1c6e467a87d166eb946c90021adcbd4 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 15 Dec 2020 00:13:00 +0000 Subject: [PATCH] Draw FPText umbilical lines in themeable colour. Fixes https://gitlab.com/kicad/code/kicad/issues/6664 --- 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 6fb9c95841..f47a705263 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -1395,7 +1395,7 @@ void PCB_PAINTER::draw( const FP_TEXT* aText, int aLayer ) if( aText->IsSelected() ) { m_gal->SetLineWidth( m_pcbSettings.m_outlineWidth ); - m_gal->SetStrokeColor( COLOR4D( 0.0, 0.0, 1.0, 1.0 ) ); + m_gal->SetStrokeColor( m_pcbSettings.GetColor( nullptr, LAYER_ANCHOR ) ); m_gal->DrawLine( position, aText->GetParent()->GetPosition() ); } }