feat:fix Scroller's subnode render error

This commit is contained in:
pengfei.zhou 2019-11-22 13:19:31 +08:00
parent 3b7c4a97da
commit af53fd9c75
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ public class ScrollerNode extends SuperNode<HVScrollView> {
@Override
protected void blendSubNode(JSObject subProperties) {
if (mChildNode != null) {
mChildNode.blend(subProperties);
mChildNode.blend(subProperties.getProperty("props").asObject());
}
}

View File

@ -102,6 +102,6 @@ - (void)blendView:(UIScrollView *)view forPropName:(NSString *)name propValue:(i
}
- (void)blendSubNode:(NSDictionary *)subModel {
[self.childNode blend:subModel];
[self.childNode blend:subModel[@"props"]];
}
@end