cairo: Fix dotted grid color

Fixes: lp:1816774
* https://bugs.launchpad.net/kicad/+bug/1816774
This commit is contained in:
Seth Hillbrand 2019-02-20 06:28:08 -08:00
parent 203486638b
commit 235f2c7b39
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ void CAIRO_GAL_BASE::drawGridPoint( const VECTOR2D& aPoint, double aSize )
p += VECTOR2D( 0.5, 0.5 ); p += VECTOR2D( 0.5, 0.5 );
} }
cairo_set_source_rgba( currentContext, strokeColor.r, strokeColor.g, strokeColor.b, strokeColor.a ); cairo_set_source_rgba( currentContext, fillColor.r, fillColor.g, fillColor.b, fillColor.a );
cairo_set_line_join( currentContext, CAIRO_LINE_JOIN_MITER ); cairo_set_line_join( currentContext, CAIRO_LINE_JOIN_MITER );
cairo_set_line_cap( currentContext, CAIRO_LINE_CAP_BUTT ); cairo_set_line_cap( currentContext, CAIRO_LINE_CAP_BUTT );