mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update main.js
This commit is contained in:
@@ -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 '
|
||||||
|
Reference in New Issue
Block a user