mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
highlight transparencies
This commit is contained in:
@@ -185,10 +185,15 @@ include('../globalHTML/header-1.php');
|
|||||||
</div>
|
</div>
|
||||||
<div class='readable-background padding'>
|
<div class='readable-background padding'>
|
||||||
<h5 class='input-description margin-bottom'>Show guidelines for text, art, watermark, and set symbols</h5>
|
<h5 class='input-description margin-bottom'>Show guidelines for text, art, watermark, and set symbols</h5>
|
||||||
<label class='checkbox-container input'>Guidelines
|
<label class='checkbox-container input margin-bottom'>Guidelines
|
||||||
<input id='show-guidelines' type='checkbox' onchange='drawCard();'>
|
<input id='show-guidelines' type='checkbox' onchange='drawCard();'>
|
||||||
<span class='checkmark'></span>
|
<span class='checkmark'></span>
|
||||||
</label>
|
</label>
|
||||||
|
<h5 class='input-description margin-bottom'>Highlight transparencies in card</h5>
|
||||||
|
<label class='checkbox-container input'>Transparencies
|
||||||
|
<input id='highlight-transparencies' type='checkbox' onchange='toggleCardBackgroundColor(this.checked);'>
|
||||||
|
<span class='checkmark'></span>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id='creator-menu-text' class='hidden'>
|
<div id='creator-menu-text' class='hidden'>
|
||||||
|
@@ -2151,6 +2151,14 @@ function drawNewGuidelines() {
|
|||||||
//draw to card
|
//draw to card
|
||||||
drawCard();
|
drawCard();
|
||||||
}
|
}
|
||||||
|
//HIGHLIGHT TRANSPARENCIES
|
||||||
|
function toggleCardBackgroundColor(highlight) {
|
||||||
|
if (highlight) {
|
||||||
|
previewCanvas.style["background-color"] = "#ff007fff";
|
||||||
|
} else {
|
||||||
|
previewCanvas.style["background-color"] = "#0000";
|
||||||
|
}
|
||||||
|
}
|
||||||
//Various loaders
|
//Various loaders
|
||||||
function imageURL(url, destination, otherParams) {
|
function imageURL(url, destination, otherParams) {
|
||||||
var imageurl = url;
|
var imageurl = url;
|
||||||
|
Reference in New Issue
Block a user