Fixes #1749. Fix CPGradient error introduced by 08ad614.

This commit is contained in:
Alexander Ljungberg committed 2013-02-12 16:41:54 +00:00
1 parent c67b212538
commit 1e6c7fa6d0
1 file changed
+1 -1
+1 -1
View File
@@ -89,7 +89,7 @@ CPGradientDrawsAfterEndingLocation = kCGGradientDrawsAfterEndLocation;
CGContextClipToRect(ctx, rect);
CGContextAddRect(ctx, rect);
[self _drawAtAngle:angle];
[self _drawInRect:rect atAngle:angle];
CGContextRestoreGState(ctx);
}