Commit 1ebc2024 authored by limingzhe's avatar limingzhe

fix: debug层大小

parent 1090e7a6
...@@ -344,7 +344,7 @@ cc.Class({ ...@@ -344,7 +344,7 @@ cc.Class({
// this.showPhotoBtn(); // this.showPhotoBtn();
this.addDefaultMusic(); // this.addDefaultMusic();
this.initMask(); this.initMask();
...@@ -657,7 +657,7 @@ cc.Class({ ...@@ -657,7 +657,7 @@ cc.Class({
layer.height = sample.height; layer.height = sample.height;
layer.anchorX = 0; layer.anchorX = 0;
layer.anchorY = 1; layer.anchorY = 1;
layer.scale = this.canvas.height / layer.height / 1; layer.scale = this.canvas.height / layer.height / 2;
const topLeftRect = [ const topLeftRect = [
......
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