Skip to content

Commit

Permalink
fix event failed to reorder after modifying zIndex for 2d-tasks/issue…
Browse files Browse the repository at this point in the history
…s/1130 (#3895)
  • Loading branch information
knoxHuang authored and pandamicro committed Feb 22, 2019
1 parent 3722a92 commit ca3ec6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos2d/core/CCNode.js
Expand Up @@ -1123,7 +1123,7 @@ var Node = cc.Class({
this._localZOrder = (this._localZOrder & 0x0000ffff) | (value << 16);

if (this._parent) {
this._parent._delaySort();
this._onSiblingIndexChanged();
}
}
}
Expand Down

0 comments on commit ca3ec6f

Please sign in to comment.