Commit 8838eb23 by doszhang

dos

parent 768f57d0
......@@ -984,7 +984,6 @@ function flagTextDraw(ctx, content, fontsize, color, x, y, font = "normal") {
for (let i = 0; i < lineArr.length; i++) {
ctx.font = fontsize + 'px normal';
ctx.fillStyle = color;
alert(ctx.measureText(content).width);
ctx.fillText(lineArr[i], x, y + (lineNo * (fontsize + 10)));
if (i == lineArr.length - 1) {
lineTop = y + (lineNo * (fontsize + 10)) - 8;
......
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