Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… resolution)
  • Loading branch information...
commit d86cbe94ea16701fcbdfd787a5ae6786db53a9bd 1 parent fe01193
@augard augard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Classes/AQGridViewUpdateInfo.m
View
2  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()];
Please sign in to comment.
Something went wrong with that request. Please try again.