Deleted _createColorPalette.js, commented files

Moved createColorPalette to the ColorModule, removed _onLoad.js and _onbeforeunload.js, commented the code and labelled with REFACTOR the comments that refere to the refactoring.
This commit is contained in:
unsettledgames
2021-07-18 23:17:41 +02:00
parent 7976675132
commit 7c4fb652cf
11 changed files with 138 additions and 112 deletions

View File

@ -132,7 +132,7 @@ const FileManager = (() => {
//draw the image onto the canvas
currentLayer.context.drawImage(img, 0, 0);
createPaletteFromLayers();
ColorModule.createPaletteFromLayers();
//track google event
if (typeof ga !== 'undefined')