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:
@@ -1,3 +1,15 @@
|
||||
/** BUG:
|
||||
* - Create a new pixel
|
||||
* - Open a png file
|
||||
* - Draw with the pencil
|
||||
* - Hit CTRL+Z
|
||||
* - RESULT: undo doesn't work, the app can't find the current layer
|
||||
*
|
||||
* - RELATED: when opening an LPE file, the app draws on a layer that is below the one in which the
|
||||
* file is loaded. This is because the data is loaded on new layers, but the first one
|
||||
* isn't removed and sometimes it could have the same ID of a recently added layer.
|
||||
*/
|
||||
|
||||
/** How the history works
|
||||
* - undoStates stores the states that can be undone
|
||||
* - redoStates stores the states that can be redone
|
||||
|
||||
Reference in New Issue
Block a user