We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92278e7 + 73b2b3c commit b2c1542Copy full SHA for b2c1542
cocos2d/core/base-nodes/CCNode.js
@@ -308,6 +308,8 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
308
setLocalZOrder: function (localZOrder) {
309
if (this._parent)
310
this._parent.reorderChild(this, localZOrder);
311
+ else
312
+ this._localZOrder = localZOrder;
313
cc.eventManager._setDirtyForNode(this);
314
},
315
cocos2d/core/platform/CCConfig.js
@@ -56,7 +56,7 @@ window["CocosEngine"] = cc.ENGINE_VERSION = "Cocos2d-JS v3.14";
56
* @constant
57
* @type {Number}
58
*/
59
-cc.FIX_ARTIFACTS_BY_STRECHING_TEXEL = 0;
+cc.FIX_ARTIFACTS_BY_STRECHING_TEXEL = 1;
60
61
/**
62
* Position of the FPS (Default: 0,0 (bottom-left corner))<br/>
0 commit comments