Commit ff27e656 authored by Chen Jiping's avatar Chen Jiping

fix:调整装饰物的布局

parent 532952f4
This diff is collapsed.
...@@ -290,7 +290,7 @@ cc.Class({ ...@@ -290,7 +290,7 @@ cc.Class({
bgFloorNode.scaleX = this._frameSize.width / bgFloorNode.width; bgFloorNode.scaleX = this._frameSize.width / bgFloorNode.width;
const bgTopNode = cc.find('Canvas/decorate/bg_top'); const bgTopNode = cc.find('Canvas/decorate/bg_top');
bgTopNode.scaleX = this._frameSize.width / bgTopNode.width; bgTopNode.scale = this._frameSize.width / bgTopNode.width * this._cocosScale;
const titleBgNode = this.getSprNode('bg'); const titleBgNode = this.getSprNode('bg');
titleBgNode.parent = bgNode; titleBgNode.parent = bgNode;
......
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