From 8d8c44c8f69c39f58f5cb156f73a6c14980bfde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Tue, 11 May 2021 16:45:04 +0800 Subject: [PATCH] handle shadow conflict with corners --- doric-iOS/Pod/Classes/Shader/DoricViewNode.m | 1 - 1 file changed, 1 deletion(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m index a55bfe3c..d371ee79 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m @@ -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]) {