mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
pleasework
This commit is contained in:
@@ -24,6 +24,11 @@ typeRightShift = 0
|
|||||||
var titleAlign = "left"
|
var titleAlign = "left"
|
||||||
var typeAlign = "left"
|
var typeAlign = "left"
|
||||||
var italicSize = 1
|
var italicSize = 1
|
||||||
|
//Regular font colors
|
||||||
|
document.getElementById("inputTitleColor").value = "#000000"
|
||||||
|
document.getElementById("inputTypeColor").value = "#000000"
|
||||||
|
document.getElementById("inputRulesColor").value = "#000000"
|
||||||
|
document.getElementById("inputCreatureColor").value = "#000000"
|
||||||
//Image alignment
|
//Image alignment
|
||||||
var centerSetSymbol = 1 //1=not centered, 2=centered
|
var centerSetSymbol = 1 //1=not centered, 2=centered
|
||||||
var artX = 58
|
var artX = 58
|
||||||
|
11
data/main.js
11
data/main.js
@@ -294,7 +294,11 @@ function createBorder() {
|
|||||||
border.mask("imgBorderMask,source-over", "none", "#a3aeb7")
|
border.mask("imgBorderMask,source-over", "none", "#a3aeb7")
|
||||||
}
|
}
|
||||||
//MAIN CARD FRAME
|
//MAIN CARD FRAME
|
||||||
border.mask("imgFrameMask,source-over", imgBorderColor)
|
if (secondColor == true && secondBorder == true && transparentBorder == true) {
|
||||||
|
border.mask("imgMultiGradient,source-over;imgFrameMask,source-out", imgBorderColor)
|
||||||
|
} else {
|
||||||
|
border.mask("imgFrameMask,source-over", imgBorderColor)
|
||||||
|
}
|
||||||
if (secondColor == true && secondBorder == true) {
|
if (secondColor == true && secondBorder == true) {
|
||||||
border.mask("imgMultiGradient,source-over;imgFrameMask,source-in", imgSecondBorderColor)
|
border.mask("imgMultiGradient,source-over;imgFrameMask,source-in", imgSecondBorderColor)
|
||||||
}
|
}
|
||||||
@@ -397,7 +401,10 @@ function createBorder() {
|
|||||||
var identityList = document.getElementById("inputIdentity").value.toLowerCase().split(" ")
|
var identityList = document.getElementById("inputIdentity").value.toLowerCase().split(" ")
|
||||||
var angleSize = Math.PI * 2 / identityList.length
|
var angleSize = Math.PI * 2 / identityList.length
|
||||||
var identityRadius = 14
|
var identityRadius = 14
|
||||||
var identityX = typeX + 8
|
var identityX = typeX
|
||||||
|
if (typeAlign == "left") {
|
||||||
|
identityX += 8
|
||||||
|
}
|
||||||
var identityY = typeY + 15
|
var identityY = typeY + 15
|
||||||
switch (identityList.length) {
|
switch (identityList.length) {
|
||||||
case 1:
|
case 1:
|
||||||
|
@@ -84,6 +84,7 @@
|
|||||||
<span class="dropdown">
|
<span class="dropdown">
|
||||||
<select id="borderSelection" onchange="changeTemplate()">
|
<select id="borderSelection" onchange="changeTemplate()">
|
||||||
<option value="m15/">M15</option>
|
<option value="m15/">M15</option>
|
||||||
|
<option value="fullArtLandUnstable/">Full Art Land (Unstable)</option>
|
||||||
<option value="planeswalker/">Planeswalker</option>
|
<option value="planeswalker/">Planeswalker</option>
|
||||||
<option value="planeswalkerTall/">Planeswalker (Tall)</option>
|
<option value="planeswalkerTall/">Planeswalker (Tall)</option>
|
||||||
<option value="tokenTextless/">Token (Textless)</option>
|
<option value="tokenTextless/">Token (Textless)</option>
|
||||||
|
Reference in New Issue
Block a user