fix: prevent items getting stuck in locked state after sorting
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user