Turned _settings.js into an IIFE

This commit is contained in:
unsettledgames
2021-07-23 18:45:23 +02:00
parent 526177c6fe
commit 366c2d9e2a
4 changed files with 64 additions and 54 deletions

View File

@ -264,8 +264,6 @@ const LayerList = (() => {
closeOptionsMenu();
}
// TODO: Can't select the first layer
function merge(saveHistory = true) {
// Saving the layer that should be merged
let toMerge = currentLayer;