Commit 82f4d130 by doszhang

dos

parent 2f4391f1
......@@ -889,10 +889,10 @@ function flagTextDraw(ctx, content, fontsize, color, x, y) {
ctx.font = fontsize + 'px normal';
ctx.fillStyle = color;
ctx.fillText(lineArr[i], x, y + (lineNo * (fontsize + 10)));
lineNo++;
if (i == lineArr.length - 1) {
lineTop = y + (lineNo * (fontsize + 10)) - 4;
}
lineNo++;
}
}
return lineTop;
......
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