From 4e1b79ff8ecf3c0bb58b8c07c8777ec40cbb9918 Mon Sep 17 00:00:00 2001 From: Ade <923+ade@noreply.octowow.st> Date: Sat, 17 Oct 2026 20:52:18 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?/=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ ui_show.lua | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 382a952..17dd50b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 ` and `/ade chat` (switch guild / party / raid sync off). diff --git a/ui_show.lua b/ui_show.lua index d836e53..48f8999 100644 --- a/ui_show.lua +++ b/ui_show.lua @@ -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