Update main.js

This commit is contained in:
Kyle
2019-10-21 09:28:02 -07:00
parent 452e08b900
commit cbd327c6f5

View File

@@ -374,6 +374,7 @@ CanvasRenderingContext2D.prototype.writeText = function(text = "", textX = 0, te
possibleCodeLower = splitString[i].toLowerCase().replace("{", "").replace("}", "") possibleCodeLower = splitString[i].toLowerCase().replace("{", "").replace("}", "")
if (possibleCodeLower == "line" && !oneLine) { if (possibleCodeLower == "line" && !oneLine) {
finishLine = true finishLine = true
currentLineY += textSize * 0.35
} else if (possibleCodeLower == "linenospace" && ! oneLine) { } else if (possibleCodeLower == "linenospace" && ! oneLine) {
finishLine = true finishLine = true
} else if (possibleCodeLower == "bar" || possibleCodeLower == "flavor") { } else if (possibleCodeLower == "bar" || possibleCodeLower == "flavor") {