Replace flavor text separator bar

This commit is contained in:
Josh Birnholz
2022-11-24 19:56:21 -05:00
committed by Josh birnholz
parent 42bdadea18
commit 763e3212db
2 changed files with 3 additions and 6 deletions

View File

@@ -1008,15 +1008,12 @@ function writeText(textObject, targetContext) {
} else if (possibleCode == 'lns' || possibleCode == 'linenospace') {
newLine = true;
} else if (possibleCode == 'bar') {
var barWidth = textWidth * 0.95;
var barHeight = scaleHeight(0.002);
var barWidth = textWidth * 0.96;
var barHeight = scaleHeight(0.03);
var barImageName = 'bar';
var barDistance = 0.45;
var barDistance = 0;
realTextAlign = textAlign;
textAlign = 'left';
if (textColor == 'white') {
barImageName = 'whitebar';
}
if (card.version == 'cartoony') {
barImageName = 'cflavor';
barWidth = scaleWidth(0.8547);