Commit 44682b6f authored by 李维's avatar 李维

Bug fix

parent 76908dc7
...@@ -591,7 +591,8 @@ cc.Class({ ...@@ -591,7 +591,8 @@ cc.Class({
const bgNode = cc.instantiate(this.bgNode); const bgNode = cc.instantiate(this.bgNode);
bgNode.parent = letterNodeBase; bgNode.parent = letterNodeBase;
bgNode.zIndex = -1; bgNode.zIndex = -1;
bgNode.width = this.node.width / letterNodeBase.scaleY; bgNode.width = cc.winSize.width //this.node.width / letterNodeBase.scaleY;
bgNode.height = cc.winSize.height
bgNode.addComponent(cc.Button); bgNode.addComponent(cc.Button);
bgNode.on('click', () => { }); bgNode.on('click', () => { });
......
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