forked from GithubMirrors/cardconjurer
		
	Update main.js
This commit is contained in:
		@@ -514,6 +514,10 @@ function writeText(textObjectList, targetContext) {
 | 
			
		||||
	var savedTextX = 0
 | 
			
		||||
	outerloop:
 | 
			
		||||
	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')) {
 | 
			
		||||
			textObjectList[i].text = textObjectList[i].text.replace('\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', URLParams.get('copyright'))
 | 
			
		||||
		}
 | 
			
		||||
		if (!rewritingLine) {
 | 
			
		||||
			textSize = scaleY(textObjectList[i].fontSize)
 | 
			
		||||
		} else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user