调整顶部弹出菜单的位置
This commit is contained in:
parent
452ed02612
commit
701d89d8a3
@ -19,7 +19,7 @@ cc.Class({
|
||||
btn.getComponent('topMenuBtn').selected = i === 0;
|
||||
this.btns.push(btn);
|
||||
this.node.addChild(btn);
|
||||
let y = 400 - 120 * i;
|
||||
let y = 350 - 120 * i;
|
||||
btn.setPosition(cc.v2(0, y));
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user