Fix for retina updates #122

Merged
merged 1 commit into from Mar 18, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -463,7 +463,7 @@ - (NSUInteger) numberOfItemsAfterUpdates
- (UIImageView *) _imageViewForView: (UIView *) view
{
- UIGraphicsBeginImageContext(view.bounds.size);
+ UIGraphicsBeginImageContextWithOptions(view.bounds.size, NO, [[UIScreen mainScreen] scale]);
[view.layer renderInContext: UIGraphicsGetCurrentContext()];
UIImageView * result = [[UIImageView alloc] initWithImage: UIGraphicsGetImageFromCurrentImageContext()];