fix: prevent items getting stuck in locked state after sorting

This commit is contained in:
Vati
2026-03-13 15:24:05 +04:00
parent 50930c06d4
commit b8f6e44cfa
3 changed files with 212 additions and 63 deletions
+2
View File
@@ -635,6 +635,8 @@ function Tooltip:Initialize()
frame:RegisterEvent("BAG_UPDATE")
frame:SetScript("OnEvent", function()
if event == "BAG_UPDATE" then
-- Skip tooltip cache clearing while sorting (items don't change, just move)
if addon.Modules.SortEngine and addon.Modules.SortEngine.sortingInProgress then return end
if cacheClearPending then return end
cacheClearPending = true
-- Debounce: batch rapid BAG_UPDATE events (uses pooled timer)