feat:delete gravity in Stack

This commit is contained in:
pengfei.zhou
2019-11-16 16:09:24 +08:00
parent 009c723bc8
commit 3f4b336205
4 changed files with 10 additions and 15 deletions

View File

@@ -29,10 +29,6 @@ - (DoricStackView *)build {
}
- (void)blendView:(DoricStackView *)view forPropName:(NSString *)name propValue:(id)prop {
if ([name isEqualToString:@"gravity"]) {
view.gravity = (DoricGravity) [(NSNumber *) prop integerValue];
} else {
[super blendView:view forPropName:name propValue:prop];
}
[super blendView:view forPropName:name propValue:prop];
}
@end