Commit c158eb67 by doszhang

dos

parent 7d413b78
......@@ -868,7 +868,7 @@ function flagNoDraw(ctx, content, fontsize, color, x, y) {
function flagTextDraw(ctx, content, fontsize, color, x, y) {
let length = calculateStringLength(content);
if (length < 14) {
if (length < 28) {
ctx.font = fontsize + 'px normal';
ctx.fillStyle = color;
ctx.fillText(content, x, y);
......
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