Update index.html

This commit is contained in:
slweeb 2024-08-02 16:25:57 -04:00
parent 27f8c8b890
commit cc4ca5373d
1 changed files with 1 additions and 1 deletions

View File

@ -16824,7 +16824,7 @@ window.onload = function() {
if (newWidth > 1000) { newWidth = 1000; }
// If we are on a desktop and the new height is greater than 500, set it to 500
if (window.innerWidth > 1000 && newHeight > 500) { newHeight = 500; }
if (settings.pixelsize && settings.pixelsize.slice(-1) === "w") {
if (settings.pixelsize && settings.pixelsize.toString().slice(-1) === "w") {
// resizeCanvas(window.innerHeight/1.5,window.innerWidth-10,pixelSize);
newHeight = window.innerHeight/1.5;
newWidth = window.innerWidth-10;