changing the year

This commit is contained in:
Kyle
2022-03-16 11:11:23 -07:00
parent be1a7d0826
commit 19a2035a52
28 changed files with 31 additions and 26 deletions

View File

@@ -529,7 +529,7 @@ function writeText(textObjectList, targetContext) {
for (var i = 0; i < textObjectList.length; i++) {
//FINDME - TESTING PURPOSES ONLY
if (URLParams.get('copyright') != null && textObjectList[i].text.includes('\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast') && currentVersion.includes('bleedEdge')) {
textObjectList[i].text = textObjectList[i].text.replace('\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', URLParams.get('copyright'))
textObjectList[i].text = textObjectList[i].text.replace('\u2122 & \u00a9 ' + card.infoYear + ' Wizards of the Coast', URLParams.get('copyright'))
}
if (!rewritingLine) {
textSize = scaleY(textObjectList[i].fontSize)