Commit bd5af79c by doszhang

dos

parent 5337e760
......@@ -965,7 +965,7 @@ function flagTextDraw(ctx, content, fontsize, color, x, y, font = "normal") {
let length = calculateStringLength(content);
let lineTop = 0;
if (length <= 24) {
if (length <= wrapNum * 2) {
ctx.font = fontsize + 'px ' + font;
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