grayout item on trade, mail

This commit is contained in:
Salikh Gurgenidze
2025-11-20 00:51:39 +04:00
parent 495ce86c88
commit 4d5f84e73c
4 changed files with 21 additions and 1 deletions
+7
View File
@@ -821,6 +821,13 @@ function BankFrame:Initialize()
end
end, "BankFrameUI")
-- Update when items get locked/unlocked (for trading, mailing, etc.)
addon.Modules.Events:Register("ITEM_LOCK_CHANGED", function()
if addon.Modules.BankScanner:IsBankOpen() and not currentViewChar then
addon.Modules.BankFrame:Update()
end
end, "BankFrameUI")
-- Register bank-specific update events (pfUI style)
local updateFrame = CreateFrame("Frame")
updateFrame:RegisterEvent("PLAYERBANKSLOTS_CHANGED")