From 6a516a1e7cc2d6f54dee433ef008805a4bac4235 Mon Sep 17 00:00:00 2001
From: bye <bye@byecorps.com>
Date: Thu, 29 Aug 2024 15:22:59 +0100
Subject: [PATCH] Fix resizing issue.

---
 src/index.html | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

diff --git a/src/index.html b/src/index.html
index 672636a..fc10f00 100644
--- a/src/index.html
+++ b/src/index.html
@@ -9,21 +9,4 @@
     }
 </style>
 <canvas id="c"></canvas>
-<script src="./main.js"></script>
-<script>
-    fl = Math.floor;
-    a = c.getContext`2d`;
-    u = _=>{
-        w = innerWidth;
-        h = innerHeight;
-        wS = fl(w/256);
-        hS = fl(h/256);
-        s=Math.min(wS,hS);
-        c.width = 256*s;
-        c.height= 240*s;
-        canvas.pixelRatio = s;
-        canvas.setScale(canvas.scale);
-        a.imageSmoothingEnabled = false;
-    }
-    u();addEventListener('resize', u, !0);
-</script>
\ No newline at end of file
+<script src="./main.js"></script>
\ No newline at end of file
-- 
GitLab