Commit 82c27831 authored by 范雪寒's avatar 范雪寒

test

parent 8c3c6536
...@@ -655,7 +655,7 @@ ...@@ -655,7 +655,7 @@
"__id__": 7 "__id__": 7
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 15 "__id__": 15
...@@ -850,7 +850,7 @@ ...@@ -850,7 +850,7 @@
"__id__": 7 "__id__": 7
}, },
"_children": [], "_children": [],
"_active": false, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 19 "__id__": 19
......
...@@ -445,8 +445,9 @@ cc.Class({ ...@@ -445,8 +445,9 @@ cc.Class({
const middleLayer = cc.find('middleLayer'); const middleLayer = cc.find('middleLayer');
cc.find('middleLayer/ExitBtn').active = true; cc.find('middleLayer/ExitBtn').active = true;
this.hideWaitingLetters(); this.hideWaitingLetters();
Canvas.getComponent(cc.Widget).updateAlignment();
middleLayer.scale = Canvas.width / middleLayer.width; middleLayer.scale = Canvas.width / middleLayer.width;
this.showLog('middleLayer.scale = ' + middleLayer.scale); // this.showLog('middleLayer.scale = ' + middleLayer.scale);
}); });
}); });
}); });
......
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