Commit 983f6bec authored by 范雪寒's avatar 范雪寒

test:

parent f8e2c066
{
"ver": "1.1.2",
"uuid": "d3ad24ed-9c8b-421d-934f-f93f1acf3060",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
{"ver":"1.1.2","uuid":"d3ad24ed-9c8b-421d-934f-f93f1acf3060","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
......@@ -39,7 +39,7 @@ cc.Class({
},
onLoad: function () {
initGlobal_NGT_02();
initGlobal_NGT_02();
//开启适配
this.widgetList = [];
......@@ -61,7 +61,9 @@ cc.Class({
var list = scene.getComponentsInChildren(cc.Widget);
for (var i in list) {
list[i].updateAlignment();
if (!list[i].name.includes("middlelayer")) {
list[i].updateAlignment();
}
}
}
}, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment