From eae55b6eb47879aa1eedda2168f431a33f5fbe6a Mon Sep 17 00:00:00 2001 From: Mr-KayJayDee Date: Mon, 18 Jan 2021 20:05:31 +0100 Subject: [PATCH] Litle fix --- src/module/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/functions.js b/src/module/functions.js index 7e77ceb..39e18c0 100644 --- a/src/module/functions.js +++ b/src/module/functions.js @@ -8,7 +8,7 @@ module.exports = { * @param {number} width the default width * @param {string} font the font */ - applyText(canvas, text, defaultFontSize, width, font){ + applyText(canvas, text, defaultFontSize, width, font) { const ctx = canvas.getContext(`2d`); do { ctx.font = `${(defaultFontSize -= 1)}px ${font}`;