From 681e18f77e362385acdc2525832e102c70c3c294 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Fri, 30 Oct 2020 21:39:58 +0800 Subject: [PATCH] fillBoldText lineWidth=2 --- libs/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ui.js b/libs/ui.js index 2a8c5b19..a3532990 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -139,7 +139,7 @@ ui.prototype.fillBoldText = function (name, text, x, y, style, strokeStyle, font if (!strokeStyle) strokeStyle = '#000000'; strokeStyle = core.arrayToRGBA(strokeStyle); ctx.strokeStyle = strokeStyle; - ctx.lineWidth = 3; + ctx.lineWidth = 2; ctx.strokeText(text, x, y); ctx.fillStyle = style; ctx.fillText(text, x, y);