Started implementing sortable layers (revert here)

This commit is contained in:
unsettledgames
2021-01-01 14:41:31 +01:00
parent fb1200162e
commit c25596c467
5 changed files with 3720 additions and 4 deletions

View File

@ -1,3 +1,8 @@
// Making the palette list sortable
new Sortable(document.getElementById("layers-menu"), {
animation: 100
});
// HTML element that contains the layer entries
let layerList;
// A single layer entry (used as a prototype to create the new ones)