Commit ef584adf by doszhang

dos

parent 8b99d9b2
......@@ -855,7 +855,7 @@ function pxToRem(px) {
function flagNoDraw(ctx, content, fontsize, fontweight, color, x, y) {
fontsize = fontsize * 2;
ctx.font = fontweight + 'px';
ctx.font = fontsize + 'px';
console.log(fontsize);
var width = ctx.measureText(content).width;
......
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