mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
life
This commit is contained in:
@@ -287,6 +287,6 @@ function inputCardArtName(cardArtNameInput) {
|
|||||||
function inputCardArtNameNumber(cardArtNameNumberInput) {
|
function inputCardArtNameNumber(cardArtNameNumberInput) {
|
||||||
playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = cardArtUrlList[cardArtNameNumberInput - 1]
|
playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = cardArtUrlList[cardArtNameNumberInput - 1]
|
||||||
}
|
}
|
||||||
document.getElementById("gridShell").addEventListener("touchmove", function(event) {
|
document.addEventListener("touchmove", function(event) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
})
|
}, false)
|
@@ -69,7 +69,7 @@
|
|||||||
<input type="color" class="colorInput" value="#222222" id="inputPlayerColor" onchange="updateBackgroundColor(this.value)"><br>
|
<input type="color" class="colorInput" value="#222222" id="inputPlayerColor" onchange="updateBackgroundColor(this.value)"><br>
|
||||||
<button onclick="updateBackgroundColor('#222222')">Default</button><br>
|
<button onclick="updateBackgroundColor('#222222')">Default</button><br>
|
||||||
Image:<br>
|
Image:<br>
|
||||||
<input type="file" accept="image/*" oninput="loadImage(event, playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage)" placeholder="Via File Upload"><br>
|
<input type="file" accept="image/*" onchange="loadImage(event, playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage)" placeholder="Via File Upload"><br>
|
||||||
<input type="text" placeholder="Via URL" onchange="playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = this.value"><br>
|
<input type="text" placeholder="Via URL" onchange="playerList[parseInt(document.getElementById('inputPlayer').value) - 1].canvas.customVarImage.src = this.value"><br>
|
||||||
<input id="inputCardArtName" onchange="inputCardArtName(this.value)" type="text" placeholder="Via Card Name"><br>
|
<input id="inputCardArtName" onchange="inputCardArtName(this.value)" type="text" placeholder="Via Card Name"><br>
|
||||||
<input id="inputCardArtNameNumber" onchange="inputCardArtNameNumber(this.value)" type="number" value="1" min="1" max="1">
|
<input id="inputCardArtNameNumber" onchange="inputCardArtNameNumber(this.value)" type="number" value="1" min="1" max="1">
|
||||||
|
Reference in New Issue
Block a user