Permalink
Browse files

Fix for retina updates (_imageViewForView was generated in non-retina…

… resolution)
  • Loading branch information...
1 parent fe01193 commit d86cbe94ea16701fcbdfd787a5ae6786db53a9bd @augard augard committed Mar 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/AQGridViewUpdateInfo.m
@@ -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()];

0 comments on commit d86cbe9

Please sign in to comment.