Make entire ui store state public

This commit is contained in:
Joscha 2025-02-12 12:58:35 +01:00
parent aaca49f1d2
commit 6a3d701e82
2 changed files with 43 additions and 37 deletions

View file

@ -10,7 +10,7 @@ window.addEventListener("keypress", (ev) => {
if (document.activeElement !== document.body) return;
if (ev.key === "Escape") {
if (ui.mode !== "focus") {
if (ui.mode.type !== "focus") {
ui.focus();
return;
}