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}`;