mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-28 22:01:59 -05:00
Compare commits
2 Commits
master
...
7354b6f81d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7354b6f81d | ||
![]() |
a19d2ac480 |
@@ -4089,13 +4089,15 @@ async function addTextbox(textboxType) {
|
|||||||
}
|
}
|
||||||
//ART TAB
|
//ART TAB
|
||||||
function uploadArt(imageSource, otherParams) {
|
function uploadArt(imageSource, otherParams) {
|
||||||
art.src = imageSource;
|
imageURL(imageSource, (src) => {
|
||||||
if (otherParams && otherParams == 'autoFit') {
|
art.src = src
|
||||||
art.onload = function() {
|
if (otherParams && otherParams == 'autoFit') {
|
||||||
autoFitArt();
|
art.onload = function() {
|
||||||
art.onload = artEdited;
|
autoFitArt();
|
||||||
};
|
art.onload = artEdited;
|
||||||
}
|
};
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
function artEdited() {
|
function artEdited() {
|
||||||
card.artSource = art.src;
|
card.artSource = art.src;
|
||||||
|
Reference in New Issue
Block a user