SenY commited on
Commit
f9ca65d
1 Parent(s): 2d4bf89

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -304,8 +304,8 @@
304
  }).then(canvas => {
305
  result.textContent = "";
306
  result.appendChild(canvas);
307
- //let scale = Math.min.apply(null, [window.document.documentElement.clientWidth / width, window.document.documentElement.clientHeight / height, 1])
308
- //canvas.style.transform = "scale(" + scale + ")";
309
  });
310
  }, 1);
311
  }
 
304
  }).then(canvas => {
305
  result.textContent = "";
306
  result.appendChild(canvas);
307
+ let scale = Math.min.apply(null, [window.document.documentElement.clientWidth / width, window.document.documentElement.clientHeight / height, 1])
308
+ canvas.style.transform = "scale(" + scale + ")";
309
  });
310
  }, 1);
311
  }