From 10e81af3940570054845bc7244ed1a23fe0c89ea Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 4 Jul 2020 23:13:20 -0400 Subject: [PATCH] Fix --- commands/edit-image/gandhi-quote.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/edit-image/gandhi-quote.js b/commands/edit-image/gandhi-quote.js index 704107c9..4d66f3c8 100644 --- a/commands/edit-image/gandhi-quote.js +++ b/commands/edit-image/gandhi-quote.js @@ -52,6 +52,7 @@ module.exports = class GandhiQuoteCommand extends Command { ctx.textAlign = 'center'; ctx.textBaseline = 'top'; ctx.font = 'italic 50px Latin Modern Roman'; + ctx.fillStyle = 'white'; let fontSize = 50; while (ctx.measureText(text).width > 1485) { fontSize--;