mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
highlight transparencies
This commit is contained in:
@@ -185,10 +185,15 @@ include('../globalHTML/header-1.php');
|
||||
</div>
|
||||
<div class='readable-background padding'>
|
||||
<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();'>
|
||||
<span class='checkmark'></span>
|
||||
</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 id='creator-menu-text' class='hidden'>
|
||||
|
@@ -2151,6 +2151,14 @@ function drawNewGuidelines() {
|
||||
//draw to card
|
||||
drawCard();
|
||||
}
|
||||
//HIGHLIGHT TRANSPARENCIES
|
||||
function toggleCardBackgroundColor(highlight) {
|
||||
if (highlight) {
|
||||
previewCanvas.style["background-color"] = "#ff007fff";
|
||||
} else {
|
||||
previewCanvas.style["background-color"] = "#0000";
|
||||
}
|
||||
}
|
||||
//Various loaders
|
||||
function imageURL(url, destination, otherParams) {
|
||||
var imageurl = url;
|
||||
|
Reference in New Issue
Block a user