Update index.html
This commit is contained in:
parent
27f8c8b890
commit
cc4ca5373d
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue