Authored by Justin R. Miller

fix to not override a set fill color

@@ -123,7 +123,8 @@ @@ -123,7 +123,8 @@
123 123
124 shapeLayer.lineWidth = scaledLineWidth; 124 shapeLayer.lineWidth = scaledLineWidth;
125 125
126 - shapeLayer.fillColor = [[UIColor colorWithPatternImage:self.fillPatternImage] CGColor]; 126 + if (self.fillPatternImage)
  127 + shapeLayer.fillColor = [[UIColor colorWithPatternImage:self.fillPatternImage] CGColor];
127 128
128 if (lineDashLengths) 129 if (lineDashLengths)
129 { 130 {