handle shadow conflict with corners

This commit is contained in:
王劲鹏 2021-05-11 16:45:04 +08:00 committed by osborn
parent 7ebfeb7b24
commit 8d8c44c8f6

View File

@ -188,7 +188,6 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
view.layer.borderWidth = width;
view.layer.borderColor = color.CGColor;
} else if ([name isEqualToString:@"corners"]) {
self.view.clipsToBounds = YES;
if ([prop isKindOfClass:NSNumber.class]) {
view.layer.cornerRadius = [(NSNumber *) prop floatValue];
} else if ([prop isKindOfClass:NSDictionary.class]) {