This commit is contained in:
sxyazi
2025-07-02 23:35:50 +08:00
parent 2ad42fa706
commit e5f00e2716
5 changed files with 105 additions and 64 deletions

View File

@@ -4,7 +4,12 @@ local update = ya.sync(function(st, tags)
for path, tag in pairs(tags) do
st.tags[path] = #tag > 0 and tag or nil
end
ya.render()
-- TODO: remove this
if ui.render then
ui.render()
else
ya.render()
end
end)
local selected_or_hovered = ya.sync(function()