Commit 2609101c by doszhang

dos

parent 6faa9f22
...@@ -1047,7 +1047,7 @@ function flagTextDraw(ctx, content, fontsize, color, x, y, font = "normal") { ...@@ -1047,7 +1047,7 @@ function flagTextDraw(ctx, content, fontsize, color, x, y, font = "normal") {
let wn = wrapNum * 2; let wn = wrapNum * 2;
let nowLen = 0; let nowLen = 0;
for (let i = 0; i < content.length; i++) { for (let i = 0; i < content.length; i++) {
const tLen = calculateStringLength(flag[i]); const tLen = calculateStringLength(content[i]);
if (i == content.length - 1) { if (i == content.length - 1) {
lineArr.push(res); lineArr.push(res);
} else { } else {
......
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