mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Removed a few dependencies, refactored pixel-editor.js
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user