mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Added latest log loading
Fixed sprite scaling bug
This commit is contained in:
@@ -201,6 +201,10 @@ function newPixel (width, height, editorMode, fileContent = null) {
|
||||
else {
|
||||
switchMode(false);
|
||||
}
|
||||
|
||||
// Resetting history
|
||||
undoStates = [];
|
||||
redoStates = [];
|
||||
}
|
||||
|
||||
function newFromTemplate(preset, x, y) {
|
||||
|
||||
Reference in New Issue
Block a user