Commit 85514490 authored by linzhiguo's avatar linzhiguo

# 这个变量什么时候变成没声明啦

parent 50c916e7
...@@ -157,7 +157,7 @@ cc.Class({ ...@@ -157,7 +157,7 @@ cc.Class({
this.tips_pic_bg.scale = scale; this.tips_pic_bg.scale = scale;
this.tips_pic_bg.getComponent(cc.Widget).isAlignHorizontalCenter = true; this.tips_pic_bg.getComponent(cc.Widget).isAlignHorizontalCenter = true;
let item, len = this.layout.childrenCount; let item, len = this.layout.childrenCount;
for(i = 0; i < len; i++){ for(let i = 0; i < len; i++){
item = this.layout.children[i]; item = this.layout.children[i];
item.width *= scale; item.width *= scale;
item.height *= scale; item.height *= 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