Update creator-23.js

This commit is contained in:
Kyle
2022-05-23 19:25:10 -07:00
parent 67160a7266
commit cedf829ed0

View File

@@ -1147,6 +1147,8 @@ function writeText(textObject, targetContext) {
textArcStart = parseFloat(possibleCode.replace('arcstart', '')) || 0; textArcStart = parseFloat(possibleCode.replace('arcstart', '')) || 0;
} else if (possibleCode.includes('rotate')) { } else if (possibleCode.includes('rotate')) {
textRotation = parseInt(possibleCode.replace('rotate', '')) % 360; textRotation = parseInt(possibleCode.replace('rotate', '')) % 360;
} else if (possibleCode === 'manacolordefault') {
manaSymbolColor = null;
} else if (possibleCode.includes('manacolor')) { } else if (possibleCode.includes('manacolor')) {
manaSymbolColor = possibleCode.replace('manacolor', '') || 'white'; manaSymbolColor = possibleCode.replace('manacolor', '') || 'white';
} else if (possibleCode.includes('fixtextalign')) { } else if (possibleCode.includes('fixtextalign')) {