From 4f92e431d34b8fc4baf9e609361bf8d4a41e130f Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Tue, 7 Feb 2023 19:02:34 -0500 Subject: [PATCH] testing --- index.html | 2 +- service-worker.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 service-worker.js diff --git a/index.html b/index.html index b5e06c60..c2fe0154 100644 --- a/index.html +++ b/index.html @@ -8748,7 +8748,7 @@ ctx.fillStyle = averageRGB(colorlist); } } - if ((view === null || view === 4) && elements[pixel.element].state === "gas") { + if ((view === null || view === 4) && elements[pixel.element].isGas) { ctx.globalAlpha = 0.5; ctx.fillRect((pixel.x-1)*pixelSize, (pixel.y)*pixelSize, pixelSize*3, pixelSize); ctx.fillRect((pixel.x)*pixelSize, (pixel.y-1)*pixelSize, pixelSize, pixelSize*3); diff --git a/service-worker.js b/service-worker.js new file mode 100644 index 00000000..e69de29b