Commit ca9ed454 by doszhang

dos

parent cf436407
...@@ -351,6 +351,8 @@ function calculationWrap() { ...@@ -351,6 +351,8 @@ function calculationWrap() {
let textWidth = posterCtx.measureText(content).width; let textWidth = posterCtx.measureText(content).width;
if (textWidth > redLineWidth) { if (textWidth > redLineWidth) {
return i; return i;
} else {
content += '啊';
} }
} }
} }
......
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 sign in to comment