diff --git a/templates/D.html b/templates/D.html index f1d9f6a..6408490 100644 --- a/templates/D.html +++ b/templates/D.html @@ -99,8 +99,8 @@ tg.expand(); function resizeCanvas() { const canvas = document.getElementById("canvas"); - const h = tg.viewportStableHeight; const w = window.innerWidth; + const h = tg.viewportStableHeight; canvas.style.width = w + "px"; canvas.style.height = h + "px"; @@ -128,7 +128,7 @@ resizeCanvas();