mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Refactored History into an IIFE
Divided History states and actual History management, refactored all occurrences of history-related functions to use the new version.
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
//=include Input.js
|
||||
//=include Color.js
|
||||
//=include Dialogue.js
|
||||
//=include History.js
|
||||
|
||||
/**init**/
|
||||
//=include _consts.js
|
||||
@ -29,7 +30,6 @@
|
||||
//=include _getCursorPosition.js
|
||||
//=include _fill.js
|
||||
//=include _line.js
|
||||
//=include _history.js
|
||||
//=include _checkerboard.js
|
||||
//=include _pixelGrid.js
|
||||
//=include _layer.js
|
||||
|
Reference in New Issue
Block a user