This commit is contained in:
Your Name 2026-08-21 10:57:32 -04:00
parent 6d41894036
commit ad405ed590
5 changed files with 397 additions and 12 deletions

View file

@ -24,6 +24,13 @@ local hierarchy = {}
local activeField = nil --this is for whenwe are doing text input things
-- True when the keyboard is captured by a text field (room name, asset search,
-- clone name, etc.) or the note editor. Callers use this to keep typed keys —
-- notably `m` — from being stolen as global shortcuts like the map toggle.
function editorTextFieldActive()
return activeField ~= nil or noteEditorActive()
end
local uiButtons = {}
local folderButtons = {}
local assetListButtons = {} -- flat list of the selected folder's assets (scrolls)