fix: tooltip issue #41

This commit is contained in:
Vati
2026-04-15 20:31:37 +04:00
parent b0fc7edb5e
commit 150c9d3574
3 changed files with 1 additions and 8 deletions
-6
View File
@@ -257,12 +257,6 @@ function Tooltip:AddInventoryInfo(tooltip, link)
return
end
-- Guard against double-adding for the same item on the same tooltip
if tooltip.GudaInventoryAdded == itemID then
return
end
tooltip.GudaInventoryAdded = itemID
local totalBags = 0
local totalBank = 0
local totalMail = 0
+1 -1
View File
@@ -2,7 +2,7 @@
## Title: Guda
## Notes: All-in-one bag and bank addon for World of Warcraft 1.12.1 (Turtle WoW)
## Author: Vati
## Version: 2.2.7
## Version: 2.2.8
## SavedVariables: Guda_DB
## SavedVariablesPerCharacter: Guda_CharDB
## OptionalDeps: pfUI
-1
View File
@@ -2441,7 +2441,6 @@ function Guda_ItemButton_OnLeave(self)
-- Clear any viewed character hint on the tooltip when leaving
if GameTooltip then
GameTooltip.GudaViewedCharacter = nil
GameTooltip.GudaInventoryAdded = nil
end
GameTooltip:Hide()
ResetCursor()