feat:fix Scroller's subnode render error
This commit is contained in:
parent
3b7c4a97da
commit
af53fd9c75
@ -45,7 +45,7 @@ public class ScrollerNode extends SuperNode<HVScrollView> {
|
|||||||
@Override
|
@Override
|
||||||
protected void blendSubNode(JSObject subProperties) {
|
protected void blendSubNode(JSObject subProperties) {
|
||||||
if (mChildNode != null) {
|
if (mChildNode != null) {
|
||||||
mChildNode.blend(subProperties);
|
mChildNode.blend(subProperties.getProperty("props").asObject());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,6 +102,6 @@ - (void)blendView:(UIScrollView *)view forPropName:(NSString *)name propValue:(i
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)blendSubNode:(NSDictionary *)subModel {
|
- (void)blendSubNode:(NSDictionary *)subModel {
|
||||||
[self.childNode blend:subModel];
|
[self.childNode blend:subModel[@"props"]];
|
||||||
}
|
}
|
||||||
@end
|
@end
|
Reference in New Issue
Block a user