Another way to select between dark/light netname labels.

This commit is contained in:
Maciej Suminski
2016-05-02 16:08:50 +02:00
parent bda3011519
commit fa6360a2ba
2 changed files with 9 additions and 19 deletions
+1
View File
@@ -411,6 +411,7 @@ void PCB_LAYER_WIDGET::OnLayerColorChange( int aLayer, EDA_COLOR_T aColor )
KIGFX::VIEW* view = myframe->GetGalCanvas()->GetView();
view->GetPainter()->GetSettings()->ImportLegacyColors( myframe->GetBoard()->GetColorsSettings() );
view->UpdateLayerColor( aLayer );
view->UpdateLayerColor( GetNetnameLayer( aLayer ) );
}
myframe->GetCanvas()->Refresh();