mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
betterinfo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//M15 Border
|
||||
//Token Text
|
||||
//Anything to do with...
|
||||
//Loading Images
|
||||
var artX = 56
|
||||
@@ -7,6 +7,9 @@ imgMultiMask.src = borderPath + "multiMask.png"
|
||||
imgFrameMask.src = borderPath + "frameMask.png"
|
||||
imgLegendFrameMask.src = borderPath + "legendFrameMask.png"
|
||||
imgBorderMask.src = borderPath + "borderMask.png"
|
||||
imgRulesMask.src = borderPath + "rulesMask.png"
|
||||
imgTypeMask.src = borderPath + "typeMask.png"
|
||||
imgTitleMask.src = borderPath + "titleMask.png"
|
||||
//Card Title
|
||||
document.getElementById("inputTitleColor").value = "#ffe886"
|
||||
var titleFont = "40px belerenbsc" //40
|
||||
|
BIN
data/borders/tokenText/rulesMask.png
Normal file
BIN
data/borders/tokenText/rulesMask.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
BIN
data/borders/tokenText/titleMask.png
Normal file
BIN
data/borders/tokenText/titleMask.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
data/borders/tokenText/typeMask.png
Normal file
BIN
data/borders/tokenText/typeMask.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
@@ -570,6 +570,9 @@ function bottomInfoM15() {
|
||||
card.mask("imgArtMask,source-over", imgArtistBrush, card.fillStyle)
|
||||
canvas.style.letterSpacing = "1.3px"
|
||||
card.font = "19.5px relaymedium"
|
||||
if (card.measureText(document.getElementById("inputNumber").value).width > artistBrushShift - 58) {
|
||||
artistBrushShift = card.measureText(document.getElementById("inputNumber").value).width + 58
|
||||
}
|
||||
card.fillText(document.getElementById("inputNumber").value, 49, infoY - 20)
|
||||
card.fillText(document.getElementById("inputRarity").value, artistBrushShift - 1, infoY - 20)
|
||||
if (442 < artistBrushShift + card.measureText(document.getElementById("inputRarity").value).width && document.getElementById("checkboxCreature").checked == false) {
|
||||
|
Reference in New Issue
Block a user