Commit ea85bf7b by doszhang

dos

parent 85bfda95
......@@ -861,7 +861,7 @@ function flagNoDraw(ctx, content, fontsize, fontweight, color, x, y) {
var width = ctx.measureText(content).width;
var cx = x - width / 2;
ctx.fillStyle = color;
ctx.fillText(content, cx, y);
ctx.fillText(content, x, y);
}
function calculateStringLength(str) {
......
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