Removed a few dependencies, refactored pixel-editor.js

This commit is contained in:
unsettledgames
2021-12-07 12:11:40 +01:00
parent 21dd47c2b0
commit 05beab6929
15 changed files with 94 additions and 121 deletions

View File

@ -73,7 +73,7 @@ const Input = (() => {
}
//if no document has been created yet or there is a dialog box open ignore hotkeys
if (!Startup.documentCreated() || Dialogue.isOpen()) return;
if (!EditorState.documentCreated() || Dialogue.isOpen()) return;
if (e.key === "Escape") {
console.log("esc");