version: 1.5.0

This commit is contained in:
Salikh Gurgenidze
2025-12-28 04:32:52 +04:00
parent a63e8f8b30
commit a9a8a36762
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Title: Guda
## Notes: All-in-one bag and bank addon for Turtle WoW
## Author: Vati
## Version: 1.4.8
## Version: 1.5.0
## SavedVariables: Guda_DB
## SavedVariablesPerCharacter: Guda_CharDB
+12
View File
@@ -381,6 +381,15 @@ function Guda_ItemButton_OnLoad(self)
-- Default behavior
if ContainerFrameItemButton_OnClick then
-- Mailbox clicks should be ignored except for Ctrl+Click (preview)
-- OR if it's a live mail item for the current player and Shift+Click (loot)
if this.isMail then
if IsControlKeyDown() then
ContainerFrameItemButton_OnClick(arg1)
end
return
end
ContainerFrameItemButton_OnClick(arg1)
end
end)
@@ -1000,6 +1009,9 @@ function Guda_ItemButton_OnEnter(self)
elseif self.itemData and self.itemData.name then
-- Money or generic mail
GameTooltip:AddLine(self.itemData.name, 1, 1, 1)
elseif self.mailData and self.mailData.money and self.mailData.money > 0 then
-- Fallback for money only mail
GameTooltip:AddLine("Money", 1, 1, 1)
end
-- Add mailbox metadata if available