From 898b25e367b4a50192cf8241c29c82a31e8742e6 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 11 Jun 2020 16:45:56 -0400 Subject: [PATCH] Fix lint --- commands/edit-image/subtitle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/subtitle.js b/commands/edit-image/subtitle.js index e9e2c29d..888bf9f0 100644 --- a/commands/edit-image/subtitle.js +++ b/commands/edit-image/subtitle.js @@ -63,7 +63,7 @@ module.exports = class SubtitleCommand extends Command { for (let i = 0; i < lines.length; i++) { const textHeight = initial + (i * fontSize) + (i * 10); ctx.strokeStyle = 'black'; - const rounded = Math.round(base.height / 100) + const rounded = Math.round(base.height / 100); ctx.lineWidth = rounded < 1 ? 1 : rounded; ctx.strokeText(lines[i], base.width / 2, textHeight); ctx.fillStyle = 'yellow';