mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
fixes
This commit is contained in:
24
index.html
24
index.html
@@ -616,18 +616,6 @@ function drawBorder() {
|
|||||||
if (document.getElementById("checkboxSilverBorder").checked == true) {
|
if (document.getElementById("checkboxSilverBorder").checked == true) {
|
||||||
drawMask("#a3aeb7", 0, 0, canvas.width, canvas.height, imgBorderMask, imgFrameMask, "reverseSecond")
|
drawMask("#a3aeb7", 0, 0, canvas.width, canvas.height, imgBorderMask, imgFrameMask, "reverseSecond")
|
||||||
}
|
}
|
||||||
//RARE STAMP
|
|
||||||
if (document.getElementById("checkboxRareStamp").checked == true && stampBorder == true) {
|
|
||||||
card.drawImage(imgBorderRareStamp, 329, rareStampY - 15, 90, 50)
|
|
||||||
|
|
||||||
if (document.getElementById("checkboxSecondColor").checked == true) {
|
|
||||||
drawMask(imgSecondBorderRareStamp, 329, rareStampY - 15, 90, 50, imgSecondBorderRareStamp, imgStampGradient, "reverseSecond")
|
|
||||||
}
|
|
||||||
//Draws over the rare stamp (part that's usually back) to match custom border color
|
|
||||||
drawMask(document.getElementById("inputColor").value, 329, rareStampY - 15, 90, 50, imgRareStampMask, false, false)
|
|
||||||
//This is when the holo stamp is drawn
|
|
||||||
card.drawImage(imgRareStamp, 340, rareStampY, 70, 37)
|
|
||||||
}
|
|
||||||
//NYX
|
//NYX
|
||||||
if (document.getElementById("checkboxNyx").checked == true && nyxBorder == true) {
|
if (document.getElementById("checkboxNyx").checked == true && nyxBorder == true) {
|
||||||
if (thirdColor == true) {
|
if (thirdColor == true) {
|
||||||
@@ -692,6 +680,18 @@ function drawBorder() {
|
|||||||
titleRightShift = 0
|
titleRightShift = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//RARE STAMP
|
||||||
|
if (document.getElementById("checkboxRareStamp").checked == true && stampBorder == true) {
|
||||||
|
card.drawImage(imgBorderRareStamp, 329, rareStampY - 15, 90, 50)
|
||||||
|
|
||||||
|
if (document.getElementById("checkboxSecondColor").checked == true) {
|
||||||
|
drawMask(imgSecondBorderRareStamp, 329, rareStampY - 15, 90, 50, imgSecondBorderRareStamp, imgStampGradient, "reverseSecond")
|
||||||
|
}
|
||||||
|
//Draws over the rare stamp (part that's usually back) to match custom border color
|
||||||
|
drawMask(document.getElementById("inputColor").value, 329, rareStampY - 15, 90, 50, imgRareStampMask, false, false)
|
||||||
|
//This is when the holo stamp is drawn
|
||||||
|
card.drawImage(imgRareStamp, 340, rareStampY, 70, 37)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//Draw Set Symbol
|
//Draw Set Symbol
|
||||||
function drawSetSymbol() {
|
function drawSetSymbol() {
|
||||||
|
Reference in New Issue
Block a user