From 235f2c7b391ee2a735051777499a069020224ec2 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 20 Feb 2019 06:28:08 -0800 Subject: [PATCH] cairo: Fix dotted grid color Fixes: lp:1816774 * https://bugs.launchpad.net/kicad/+bug/1816774 --- common/gal/cairo/cairo_gal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/gal/cairo/cairo_gal.cpp b/common/gal/cairo/cairo_gal.cpp index ddab9fdabf..dc97952824 100644 --- a/common/gal/cairo/cairo_gal.cpp +++ b/common/gal/cairo/cairo_gal.cpp @@ -877,7 +877,7 @@ void CAIRO_GAL_BASE::drawGridPoint( const VECTOR2D& aPoint, double aSize ) 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_cap( currentContext, CAIRO_LINE_CAP_BUTT );