mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
Fix render component chain not updated for one child
This commit is contained in:
@@ -2453,9 +2453,9 @@ var Node = cc.Class({
|
||||
}
|
||||
_children[j + 1] = child;
|
||||
}
|
||||
hierarchyChain.rebuild(this);
|
||||
this.emit(CHILD_REORDER);
|
||||
}
|
||||
hierarchyChain.rebuild(this);
|
||||
cc.director.__fastOff(cc.Director.EVENT_AFTER_UPDATE, this.sortAllChildren, this);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user