mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Tried fixing pan bug
If you load an LPE file, the pan tool screws up
This commit is contained in:
@@ -153,7 +153,6 @@ const FileManager = (() => {
|
||||
// Converting the data to a json object and creating a new pixel (see _newPixel.js for more)
|
||||
reader.onload = function (e) {
|
||||
let dictionary = JSON.parse(e.target.result);
|
||||
let mode = dictionary['editorMode'];
|
||||
Startup.newPixel(dictionary['canvasWidth'], dictionary['canvasHeight'], dictionary);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user