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
@@ -1764,6 +1764,13 @@ function BagFrame:Initialize()
BagFrame:UpdateMoney()
end, "BagFrame")
-- Update when items get locked/unlocked (for trading, mailing, etc.)
addon.Modules.Events:Register("ITEM_LOCK_CHANGED", function()
if not currentViewChar then
BagFrame:Update()
end
end, "BagFrame")
-- Hide character dropdown when clicking on bag frame
local bagFrame = getglobal("Guda_BagFrame")
if bagFrame then