mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
promo extended frame mask + vertical apostrophe spacing
This commit is contained in:
@@ -650,7 +650,13 @@ function writeText(textObject, targetContext) {
|
||||
newSplitText.push(`{down${scaleHeight(0.01)}}`);
|
||||
} else {
|
||||
item.split('').forEach(char => {
|
||||
newSplitText.push(char, '{lns}');
|
||||
if (char == '’') {
|
||||
console.log(char);
|
||||
newSplitText.push(`{right${startingTextSize * 0.6}}`, '’', '{lns}', `{up${startingTextSize * 0.75}}`);
|
||||
console.log(newSplitText);
|
||||
} else {
|
||||
newSplitText.push(char, '{lns}');
|
||||
}
|
||||
});
|
||||
// newSplitText = newSplitText.concat(item.split(''));
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/promo/m15PromoMaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/promo/m15PromoMaskType.png', name:'Type'}, {src:'/img/frames/promo/m15PromoMaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
|
||||
var masks = [{src:'/img/frames/promo/m15PromoMaskPinline.png', name:'Pinline'}, {src:'/img/frames/m15/regular/m15MaskTitle.png', name:'Title'}, {src:'/img/frames/promo/m15PromoMaskType.png', name:'Type'}, {src:'/img/frames/promo/extended/frame.svg', name:'Frame'}, {src:'/img/frames/promo/m15PromoMaskRules.png', name:'Rules'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Border'}];
|
||||
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
|
Reference in New Issue
Block a user