mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Removed global documentCreated
This commit is contained in:
@ -61,7 +61,7 @@ const Input = (() => {
|
||||
//if no document has been created yet,
|
||||
//orthere is a dialog box open
|
||||
//ignore hotkeys
|
||||
if (!documentCreated || Dialogue.isOpen()) return;
|
||||
if (!Startup.documentCreated() || Dialogue.isOpen()) return;
|
||||
|
||||
//
|
||||
if (e.key === "Escape") {
|
||||
|
Reference in New Issue
Block a user