From 0e63efc8471c224efe1e4fec49beaa372137d255 Mon Sep 17 00:00:00 2001 From: tim h Date: Sat, 18 Feb 2023 12:56:06 -0600 Subject: [PATCH] ghostbustin' --- index.html | 2 +- js/lib/layers.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d9e01dd..9cbaee8 100644 --- a/index.html +++ b/index.html @@ -435,7 +435,7 @@ - + diff --git a/js/lib/layers.js b/js/lib/layers.js index 8c14c24..faaf811 100644 --- a/js/lib/layers.js +++ b/js/lib/layers.js @@ -603,11 +603,11 @@ const layers = { // Hides this layer (don't draw) hide() { - this.canvas.style.display = "none"; + this.state.visible = false; }, // Hides this layer (don't draw) unhide() { - this.canvas.style.display = "block"; + this.state.visible = true; }, }, _layerlogpath