fix: iOS dynamic set gradient props does not take effect
This commit is contained in:
parent
3f6d88bbe7
commit
07a958c3bd
@ -168,6 +168,7 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
|
|||||||
self.gradientSize = CGSizeZero;
|
self.gradientSize = CGSizeZero;
|
||||||
} else if ([prop isKindOfClass:[NSDictionary class]]) {
|
} else if ([prop isKindOfClass:[NSDictionary class]]) {
|
||||||
self.gradientProps = prop;
|
self.gradientProps = prop;
|
||||||
|
self.gradientSize = CGSizeZero;
|
||||||
}
|
}
|
||||||
} else if ([name isEqualToString:@"alpha"]) {
|
} else if ([name isEqualToString:@"alpha"]) {
|
||||||
view.alpha = [prop floatValue];
|
view.alpha = [prop floatValue];
|
||||||
|
Reference in New Issue
Block a user