fix: iOS dynamic set gradient props does not take effect

This commit is contained in:
王劲鹏 2021-06-22 17:42:27 +08:00 committed by osborn
parent 3f6d88bbe7
commit 07a958c3bd

View File

@ -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];