This commit is contained in:
slweeb 2023-02-07 19:02:34 -05:00
parent be01083486
commit 4f92e431d3
2 changed files with 1 additions and 1 deletions

View File

@ -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);

0
service-worker.js Normal file
View File