Implemented history state for adding layers

This commit is contained in:
unsettledgames
2020-06-24 12:51:09 +02:00
parent 8201099ad5
commit 74a8ee0988
2 changed files with 18 additions and 3 deletions

View File

@@ -518,4 +518,5 @@ function addLayer() {
// Insert it before the Add layer button
layerList.insertBefore(toAppend, layerList.childNodes[0]);
new HistoryStateAddLayer(newLayer);
}