Fixing corner size function of processed images
This commit is contained in:
parent
538d244a46
commit
2e32312d17
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@
|
||||||
const CGFloat kAFImageRequestJPEGQuality = 0.8;
|
const CGFloat kAFImageRequestJPEGQuality = 0.8;
|
||||||
const NSUInteger kAFImageRequestMaximumResponseSize = 8 * 1024 * 1024;
|
const NSUInteger kAFImageRequestMaximumResponseSize = 8 * 1024 * 1024;
|
||||||
static inline CGSize kAFImageRequestRoundedCornerRadii(CGSize imageSize) {
|
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);
|
return CGSizeMake(dimension, dimension);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue