From 4fb295fbc020d6a95e38eeb6ab6791b238efab0b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 3 Jun 2020 18:55:12 -0400 Subject: [PATCH] Fix --- commands/edit-meme/phoebe-teaching-joey.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/edit-meme/phoebe-teaching-joey.js b/commands/edit-meme/phoebe-teaching-joey.js index b2ec79bb..1eff01d8 100644 --- a/commands/edit-meme/phoebe-teaching-joey.js +++ b/commands/edit-meme/phoebe-teaching-joey.js @@ -76,17 +76,17 @@ module.exports = class PhoebeTeachingJoeyCommand extends Command { ctx.drawImage(base, 0, 0); ctx.fillStyle = 'white'; ctx.strokeStyle = 'black'; - ctx.lineWidth = 5; + ctx.lineWidth = 10; ctx.textBaseline = 'top'; ctx.textAlign = 'center'; let i = 0; for (const coords of coord) { let j = 0; for (const [x, y] of coords) { - ctx.font = '18px Noto'; + ctx.font = '20px Noto'; let step = steps[i]; if (step === incorrect && j === 0) step = correct.join(' '); - let fontSize = 18; + let fontSize = 20; while (ctx.measureText(step).width > 260) { fontSize -= 1; ctx.font = `${fontSize}px Noto`;