Commit 3401931d by doszhang

dos

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