handle shadow conflict with corners
This commit is contained in:
parent
7ebfeb7b24
commit
8d8c44c8f6
@ -188,7 +188,6 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
|
|||||||
view.layer.borderWidth = width;
|
view.layer.borderWidth = width;
|
||||||
view.layer.borderColor = color.CGColor;
|
view.layer.borderColor = color.CGColor;
|
||||||
} else if ([name isEqualToString:@"corners"]) {
|
} else if ([name isEqualToString:@"corners"]) {
|
||||||
self.view.clipsToBounds = YES;
|
|
||||||
if ([prop isKindOfClass:NSNumber.class]) {
|
if ([prop isKindOfClass:NSNumber.class]) {
|
||||||
view.layer.cornerRadius = [(NSNumber *) prop floatValue];
|
view.layer.cornerRadius = [(NSNumber *) prop floatValue];
|
||||||
} else if ([prop isKindOfClass:NSDictionary.class]) {
|
} else if ([prop isKindOfClass:NSDictionary.class]) {
|
||||||
|
Reference in New Issue
Block a user