Restored Startup.js to previous version

This commit is contained in:
Leamsi Escribano 2021-07-18 20:08:49 -05:00
parent 636d4685a0
commit f5fc762c5c
1 changed files with 2 additions and 1 deletions

View File

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