Commit ad92f15b by doszhang

dos

parent 10dd3316
...@@ -1143,7 +1143,7 @@ function flagTextDraw(ctx, content, fontsize, color, x, y, font = "normal") { ...@@ -1143,7 +1143,7 @@ function flagTextDraw(ctx, content, fontsize, color, x, y, font = "normal") {
ctx.fillStyle = color; ctx.fillStyle = color;
ctx.fillText(lineArr[i], x, y + (lineNo * (fontsize + 10))); ctx.fillText(lineArr[i], x, y + (lineNo * (fontsize + 10)));
if (i == lineArr.length - 1) { if (i == lineArr.length - 1) {
lineTop = y + (lineNo * (fontsize + 10)) - 8; lineTop = y + (lineNo * (fontsize + 10));
} }
lineNo++; lineNo++;
} }
......
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