Gerbview: fix a minor but annoying issue about the drawing sheet color.
The color was not always the selected color but sometimes the default color.
This commit is contained in:
parent
758ba5ab18
commit
9626f0b66c
|
@ -84,6 +84,10 @@ void GERBVIEW_RENDER_SETTINGS::LoadColors( const COLOR_SETTINGS* aSettings )
|
|||
for( int i = GAL_LAYER_ID_START; i < GAL_LAYER_ID_END; i++ )
|
||||
m_layerColors[i] = aSettings->GetColor( i );
|
||||
|
||||
// Ensure the generic LAYER_DRAWINGSHEET has the same color as the specialized
|
||||
// LAYER_GERBVIEW_DRAWINGSHEET
|
||||
m_layerColors[LAYER_DRAWINGSHEET] = m_layerColors[ LAYER_GERBVIEW_DRAWINGSHEET ];
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue