Commit 1e6c8576 authored by limingzhe's avatar limingzhe

fix: debug

parent 71aa4400
......@@ -1338,7 +1338,7 @@
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 2,
"_id": "f16IG718FFQpQOM8SO4BOB"
},
{
......
......@@ -1381,9 +1381,9 @@ cc.Class({
this.letterBgArr = [];
this.letterArr = [];
const maxW = this.canvas.width * 0.97;
const maxW = this.canvas.width * 0.97 * 0.95 ;
if (totalW > maxW) {
this.letterLayer.scale = maxW * 0.95 / totalW;
this.letterLayer.scale = maxW / totalW;
totalW = maxW;
} else {
this.letterLayer.scale = 1;
......
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