Skip to content

Commit

Permalink
Merge branch 'main' into ilikethese/feat/remove_dom_value
Browse files Browse the repository at this point in the history
  • Loading branch information
open-hippy authored Aug 26, 2023
2 parents 25d0efb + 1bec309 commit 4ed8edb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ public void addChild(@NonNull RenderNode node, int index) {
index = (index < 0) ? 0 : Math.min(index, mChildren.size());
mChildren.add(index, node);
node.mParent = this;
// If has set z index in the child nodes, the rendering order needs to be rearranged
// after adding nodes
if (mDrawingOrder != null) {
setNodeFlag(FLAG_UPDATE_DRAWING_ORDER);
}
}

public void setLazy(boolean isLazy) {
Expand Down

0 comments on commit 4ed8edb

Please sign in to comment.