Commit ebbd58e9 authored by limingzhe's avatar limingzhe

fix: debug层大小

parent 47e9ceb2
...@@ -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