Skip to content

Commit

Permalink
Merge pull request AlanQuatermain#122 from augard/master
Browse files Browse the repository at this point in the history
Fix for retina updates
  • Loading branch information
AlanQuatermain committed Mar 18, 2012
2 parents fe01193 + d86cbe9 commit f6c5589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/AQGridViewUpdateInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -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()];
Expand Down

0 comments on commit f6c5589

Please sign in to comment.