mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
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:
@ -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')
|
||||
|
Reference in New Issue
Block a user