summaryrefslogtreecommitdiffstats
path: root/Classes/HJManagedImageV.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/HJManagedImageV.m')
-rwxr-xr-xClasses/HJManagedImageV.m6
1 files changed, 2 insertions, 4 deletions
diff --git a/Classes/HJManagedImageV.m b/Classes/HJManagedImageV.m
index eb83f7d..4bab846 100755
--- a/Classes/HJManagedImageV.m
+++ b/Classes/HJManagedImageV.m
@@ -200,10 +200,8 @@
[imageView removeFromSuperview];
- if (squareCropped)
- self.imageView = [[[UIImageView alloc] initWithImage:[theImage imageByScalingAndCroppingForSize:CGSizeMake(100,100)]] autorelease];
- else
- self.imageView = [[[UIImageView alloc] initWithImage:theImage] autorelease];
+
+ self.imageView = [[[UIImageView alloc] initWithImage:theImage] autorelease];
imageView.contentMode = UIViewContentModeScaleAspectFit;
imageView.autoresizingMask = ( UIViewAutoresizingFlexibleWidth || UIViewAutoresizingFlexibleHeight );