Tried fixing pan bug

If you load an LPE file, the pan tool screws up
This commit is contained in:
unsettledgames
2021-07-15 23:30:55 +02:00
parent 06d9536895
commit 68dbbdc4c3
3 changed files with 5 additions and 15 deletions

View File

@@ -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);
}
}