From fa492fad6150a6c001231feb79c41d93644049d1 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Mon, 17 Aug 2020 16:28:43 -0700 Subject: [PATCH] Update main.js --- data/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/scripts/main.js b/data/scripts/main.js index e84c941e..c890fd07 100644 --- a/data/scripts/main.js +++ b/data/scripts/main.js @@ -542,7 +542,7 @@ function writeText(textObjectList, targetContext) { finishLine = true var barWidth = scaleX(textObjectList[i].width) * 0.95 var barHeight = scaleY(0.001) - textLineContext.drawImage(manaSymbolImageList[63], textCanvasBuffer + (scaleX(textObjectList[i].width) - barWidth) / 2, textSize * 1.6 + textCanvasBuffer, barWidth, barHeight) + textLineContext.drawImage(manaSymbolImageList[manaSymbolCodeList.indexOf('bar')], textCanvasBuffer + (scaleX(textObjectList[i].width) - barWidth) / 2, textSize * 1.6 + textCanvasBuffer, barWidth, barHeight) paragraphSpace += textSize * 0.8 if (possibleCodeLower == 'flavor' && !fontStyle.includes('italic')) { fontStyle += 'italic '