This commit is contained in:
Kyle
2020-01-10 18:00:29 -08:00
parent c1acda99d1
commit 41a37457e3
10 changed files with 151 additions and 65 deletions

View File

@@ -8,6 +8,17 @@ function initiate() {
window.version = {}
window.cardWidth = 744;
window.cardHeight = 1039;
if (window.location.search != "") {
var parameters = window.location.search.replace('?', '').split('&');
for (var i = 0; i < parameters.length; i ++) {
var targetParameter = parameters[i].split('=');
if (targetParameter[0] == 'width') {
cardWidth = parseInt(targetParameter[1]);
} else if (targetParameter[0] == 'height') {
cardHeight = parseInt(targetParameter[1]);
}
}
}
window.whichTextIndex = 0;
window.frameList = new Array();
window.maskNameList = [];