diff --git a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m index 8fd1d563..93a37720 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricViewNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricViewNode.m @@ -168,6 +168,7 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop self.gradientSize = CGSizeZero; } else if ([prop isKindOfClass:[NSDictionary class]]) { self.gradientProps = prop; + self.gradientSize = CGSizeZero; } } else if ([name isEqualToString:@"alpha"]) { view.alpha = [prop floatValue];