Commit d092b7ce authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Fix runtime exception

(cherry picked from commit 03a07661)
parent a354572f
......@@ -306,7 +306,8 @@
CGFloat centerOffset = (imagePartWidth * i + imagePartWidth / 2) - imageSize.width / 2;
//shift the rect to draw the middle of the image in the clippingrect
CGRect drawingRect = CGRectMake(centerOffset, 0, imageSize.width, imageSize.height);
[clusterThumb drawInRect:drawingRect];
if (clusterThumb != nil)
[clusterThumb drawInRect:drawingRect];
//get rid of the old clippingRect
CGContextRestoreGState(context);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment