New high-res frames

This commit is contained in:
Josh birnholz
2023-08-24 02:32:15 -04:00
parent 2c32729aca
commit c277d167a1
46 changed files with 17 additions and 11 deletions

View File

@@ -25,19 +25,25 @@ function setImageUrl(image, source) {
const baseWidth = 1500;
const baseHeight = 2100;
const highResScale = 1.34;
// function getStandardWidth() {
// var value = baseWidth;
// if (localStorage.getItem('high-res') == 'true') {
// value *= highResScale;
// }
// return value;
// }
// function getStandardHeight() {
// var value = baseHeight;
// if (localStorage.getItem('high-res') == 'true') {
// value *= highResScale;
// }
// return value;
// }
function getStandardWidth() {
var value = baseWidth;
if (localStorage.getItem('high-res') == 'true') {
value *= highResScale;
}
return value;
return 2010;
}
function getStandardHeight() {
var value = baseHeight;
if (localStorage.getItem('high-res') == 'true') {
value *= highResScale;
}
return value;
return 2814;
}
//card object