mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Replace flavor text separator bar
This commit is contained in:

committed by
Josh birnholz

parent
42bdadea18
commit
763e3212db
Binary file not shown.
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 2.3 KiB |
@@ -1008,15 +1008,12 @@ function writeText(textObject, targetContext) {
|
|||||||
} else if (possibleCode == 'lns' || possibleCode == 'linenospace') {
|
} else if (possibleCode == 'lns' || possibleCode == 'linenospace') {
|
||||||
newLine = true;
|
newLine = true;
|
||||||
} else if (possibleCode == 'bar') {
|
} else if (possibleCode == 'bar') {
|
||||||
var barWidth = textWidth * 0.95;
|
var barWidth = textWidth * 0.96;
|
||||||
var barHeight = scaleHeight(0.002);
|
var barHeight = scaleHeight(0.03);
|
||||||
var barImageName = 'bar';
|
var barImageName = 'bar';
|
||||||
var barDistance = 0.45;
|
var barDistance = 0;
|
||||||
realTextAlign = textAlign;
|
realTextAlign = textAlign;
|
||||||
textAlign = 'left';
|
textAlign = 'left';
|
||||||
if (textColor == 'white') {
|
|
||||||
barImageName = 'whitebar';
|
|
||||||
}
|
|
||||||
if (card.version == 'cartoony') {
|
if (card.version == 'cartoony') {
|
||||||
barImageName = 'cflavor';
|
barImageName = 'cflavor';
|
||||||
barWidth = scaleWidth(0.8547);
|
barWidth = scaleWidth(0.8547);
|
||||||
|
Reference in New Issue
Block a user