From f5fc762c5c348860c0924cacf37798cbde3b8a2e Mon Sep 17 00:00:00 2001 From: Leamsi Escribano Date: Sun, 18 Jul 2021 20:08:49 -0500 Subject: [PATCH] Restored Startup.js to previous version --- js/Startup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/Startup.js b/js/Startup.js index 723e70a..82ac38d 100644 --- a/js/Startup.js +++ b/js/Startup.js @@ -108,7 +108,8 @@ const Startup = (() => { } // Setting up the current layer - currentLayer = new Layer(width, height, canvas, layerListEntry); + layers[1] = new Layer(width, height, layers[1].canvas, layers[1].menuEntry); + currentLayer = layers[1]; currentLayer.canvas.style.zIndex = 2; // Updating canvas size to the new size