Fixing corner size function of processed images
This commit is contained in:
parent
538d244a46
commit
2e32312d17
@ -27,7 +27,7 @@
|
||||
const CGFloat kAFImageRequestJPEGQuality = 0.8;
|
||||
const NSUInteger kAFImageRequestMaximumResponseSize = 8 * 1024 * 1024;
|
||||
static inline CGSize kAFImageRequestRoundedCornerRadii(CGSize imageSize) {
|
||||
CGFloat dimension = fmaxf(imageSize.width, imageSize.height);
|
||||
CGFloat dimension = fmaxf(imageSize.width, imageSize.height) * 0.1;
|
||||
return CGSizeMake(dimension, dimension);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user