Загрузить файлы в «/»

This commit is contained in:
Ade
2026-10-17 20:52:18 +00:00
parent 4af9e66734
commit 4e1b79ff8e
2 changed files with 13 additions and 2 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 1.2.2
- Fixed: lists (recipes, bags, bank, search results) jumped back to the top every few seconds.
- Fixed: a dropped profession stayed in the list (the shared file / chat brought it back). Dropped professions are now remembered and the removal syncs between accounts.
## 1.2.1
- `/ade del` now also ignores the character afterwards (it was re-added by the next chat broadcast). New `/ade unignore <name>` and `/ade chat` (switch guild / party / raid sync off).
+9 -2
View File
@@ -53,7 +53,10 @@ local function ShowSearch(q)
else
AA.stitle:SetText(table.getn(AA.resList) .. " stack group(s), " .. total .. " item(s) on " .. nc .. " alt(s) |cff808080(item count alt location)|r")
end
AA.ResetScroll(AA.ssf)
if AA.sctx ~= q then
AA.sctx = q
AA.ResetScroll(AA.ssf)
end
AA.UpdateResults()
AA.S:Show()
end
@@ -229,7 +232,11 @@ local function ShowProfs(c)
end
AA.PR.empty:Show()
end
AA.ResetScroll(AA.PR.sf)
local ctx = tostring(AA.selKey) .. "|" .. tostring(AA.profSel) .. "|" .. mode .. "|" .. sort
if AA.recCtx ~= ctx then -- periodic refreshes must not throw the list back to the top
AA.recCtx = ctx
AA.ResetScroll(AA.PR.sf)
end
AA.UpdateRecipes()
end