Skip to content

Commit

Permalink
iOS:fix when reblend groupNode,subviews will not be created properly
Browse files Browse the repository at this point in the history
  • Loading branch information
penfeizhou committed Mar 31, 2020
1 parent bd5391a commit a265371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doric-iOS/Pod/Classes/Shader/DoricGroupNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ - (void)configChildNodes {
viewNode.viewId = viewId;
[viewNode initWithSuperNode:self];
[viewNode blend:model[@"props"]];
[childNodes addObject:viewNode];
[self.view addSubview:viewNode.view];
[childNodes insertObject:viewNode atIndex:idx];
[self.view insertSubview:viewNode.view atIndex:idx];
}
}

Expand Down

0 comments on commit a265371

Please sign in to comment.