Update main.js

This commit is contained in:
Kyle
2020-08-17 16:28:43 -07:00
parent 2bd575c5fd
commit fa492fad61

View File

@@ -542,7 +542,7 @@ function writeText(textObjectList, targetContext) {
finishLine = true finishLine = true
var barWidth = scaleX(textObjectList[i].width) * 0.95 var barWidth = scaleX(textObjectList[i].width) * 0.95
var barHeight = scaleY(0.001) 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 paragraphSpace += textSize * 0.8
if (possibleCodeLower == 'flavor' && !fontStyle.includes('italic')) { if (possibleCodeLower == 'flavor' && !fontStyle.includes('italic')) {
fontStyle += 'italic ' fontStyle += 'italic '