fullartregular

This commit is contained in:
Kyle
2019-01-03 15:11:08 -08:00
parent 0d5f6e6ef2
commit 550fa69b0b
13 changed files with 64 additions and 1 deletions

View File

@@ -528,7 +528,9 @@ function drawWatermark() {
//globalAlpha insures that the watermark is drawn partially transparent. This value may not be perfect but the watermark colors are calibrated to it
card.globalAlpha = document.getElementById("inputWatermarkOpacity").value
//if the following if statement is true, the watermark will be drawn in two halves of the chosen colors. Otherwise, a single watermark of the first chosen color is drawn.
if (document.getElementById("checkboxSecondWatermarkColor").checked == true) {
if (document.getElementById("checkboxOriginalWatermark").checked == true) {
card.mask("imgCardMask,source-over", imgWatermark)
} else if (document.getElementById("checkboxSecondWatermarkColor").checked == true) {
card.mask("imgMultiGradient,source-over;imgCardMask,source-out", imgWatermark, document.getElementById("watermarkColorSelection").value)
card.mask("imgMultiGradient,source-over", imgWatermark, document.getElementById("secondWatermarkColorSelection").value)
} else {