mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
[v3.8.6] Fix node._getUITransformComp not found on native platforms. (#18191)
* [v3.8.6] Fix node._getUITransformComp not found on native platforms. * Update ccbuild to 2.3.5
This commit is contained in:
@@ -1377,6 +1377,10 @@ nodeProto._instantiate = function (cloned: Node, isSyncedNode: boolean) {
|
||||
return cloned;
|
||||
};
|
||||
|
||||
nodeProto._getUITransformComp = function () {
|
||||
return this._uiProps.uiTransformComp;
|
||||
};
|
||||
|
||||
nodeProto._onSiblingIndexChanged = function (index) {
|
||||
const siblings = this._parent._children;
|
||||
index = index !== -1 ? index : siblings.length - 1;
|
||||
|
||||
Generated
+4
-4
@@ -13,7 +13,7 @@
|
||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||
"@cocos/box2d": "1.0.1",
|
||||
"@cocos/cannon": "1.2.8",
|
||||
"@cocos/ccbuild": "^2.3.2",
|
||||
"@cocos/ccbuild": "^2.3.5",
|
||||
"@cocos/dragonbones-js": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -2063,9 +2063,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@cocos/ccbuild": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/@cocos/ccbuild/-/ccbuild-2.3.2.tgz",
|
||||
"integrity": "sha512-2lBXtghYuIVdF+j0V5j6VcwS79XcSt52NhhpBh6X8WdruimmRBgAUn5oEMVFMRx4O+QzoIxejGkYRkw+p5T/pw==",
|
||||
"version": "2.3.5",
|
||||
"resolved": "https://registry.npmmirror.com/@cocos/ccbuild/-/ccbuild-2.3.5.tgz",
|
||||
"integrity": "sha512-/U9WqOkorcjNR2kzCElVOqxuHmKDJyqhok/7eUiF8u+EfshuTkjyJ6uA5toX9ZJn1adSXzIjvGl66hNZrNmOzA==",
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
"./modules/*"
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@
|
||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||
"@cocos/box2d": "1.0.1",
|
||||
"@cocos/cannon": "1.2.8",
|
||||
"@cocos/ccbuild": "^2.3.2",
|
||||
"@cocos/ccbuild": "^2.3.5",
|
||||
"@cocos/dragonbones-js": "^1.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user