Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for retina updates #122

Merged
merged 1 commit into from

2 participants

@augard

_imageViewForView was generated in non-retina resolution

@AlanQuatermain

I'm fairly surprised that this wasn't already in place; the project has been running on iPhone for a long time now…

@AlanQuatermain AlanQuatermain merged commit f6c5589 into AlanQuatermain:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 18, 2012
  1. @augard
This page is out of date. Refresh to see the latest.
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()];
Something went wrong with that request. Please try again.