Fix render component chain not updated for one child

This commit is contained in:
pandamicro
2018-04-13 22:53:23 +08:00
parent 919147637b
commit db29ec79c1
+1 -1
View File
@@ -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);
}
},