feat: open bags with opening mailbox
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
## Title: Guda
|
||||
## Notes: All-in-one bag and bank addon for Turtle WoW
|
||||
## Author: Vati
|
||||
## Version: 1.0.8
|
||||
## Version: 1.0.9
|
||||
## SavedVariables: Guda_DB
|
||||
## SavedVariablesPerCharacter: Guda_CharDB
|
||||
|
||||
|
||||
@@ -1771,6 +1771,11 @@ function BagFrame:Initialize()
|
||||
end
|
||||
end, "BagFrame")
|
||||
|
||||
-- Auto-open bag frame when mail is opened
|
||||
addon.Modules.Events:Register("MAIL_SHOW", function()
|
||||
Guda_BagFrame:Show()
|
||||
end, "BagFrame")
|
||||
|
||||
-- Hide character dropdown when clicking on bag frame
|
||||
local bagFrame = getglobal("Guda_BagFrame")
|
||||
if bagFrame then
|
||||
|
||||
Reference in New Issue
Block a user