mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-07 23:35:31 +00:00
minor bug 1974672 solved
This commit is contained in:
parent
936b1ac904
commit
1f34ed0583
@ -266,7 +266,7 @@ void GRSetColorPen( wxDC* DC, int Color, int width, int style )
|
||||
if( width < PenMinWidth )
|
||||
width = PenMinWidth;
|
||||
|
||||
if( ForceBlackPen && Color != WHITE )
|
||||
if( ForceBlackPen )
|
||||
{
|
||||
Color = BLACK;
|
||||
}
|
||||
@ -300,7 +300,7 @@ void GRSetBrush( wxDC* DC, int Color, int fill )
|
||||
/***********************************************/
|
||||
{
|
||||
Color &= MASKCOLOR; // Pour 32 couleurs Max
|
||||
if( ForceBlackPen && Color != WHITE )
|
||||
if( ForceBlackPen )
|
||||
Color = BLACK;
|
||||
wxBrush DrawBrush;
|
||||
DrawBrush.SetColour(
|
||||
|
Loading…
Reference in New Issue
Block a user