diff --git a/Core/Tooltip.lua b/Core/Tooltip.lua index 7f7a882..0a4a590 100644 --- a/Core/Tooltip.lua +++ b/Core/Tooltip.lua @@ -268,7 +268,6 @@ function Tooltip:AddInventoryInfo(tooltip, link) -- Bottom padding below the Inventory block (~10-12px visually) --tooltip:AddLine(" ") - tooltip:Show() end end @@ -324,6 +323,9 @@ function Tooltip:Initialize() Orig_SetTooltipMoney(q[1], q[2], q[3], q[4], q[5], q[6], q[7]) end + -- Ensure the tooltip background resizes to include both our block and the money frame + tooltip:Show() + -- Add ~5px more space below the Inventory block by reducing the upward nudge from 15px to 10px --AdjustMoneyFrames(tooltip, 12) return ret @@ -381,7 +383,7 @@ function Tooltip:Initialize() end -- Hook SetInventoryItem for character paperdoll - local oldSetInventoryItem = GameTooltip.SetInventoryItem + oldSetInventoryItem = GameTooltip.SetInventoryItem function GameTooltip:SetInventoryItem(unit, slot) return WithDeferredMoney(self, function() local ret = oldSetInventoryItem(self, unit, slot) diff --git a/Guda.toc b/Guda.toc index e0f9a0a..e6ff4e8 100644 --- a/Guda.toc +++ b/Guda.toc @@ -2,7 +2,7 @@ ## Title: Guda ## Notes: All-in-one bag and bank addon for Turtle WoW ## Author: Vati -## Version: 1.2.5 +## Version: 1.2.6 ## SavedVariables: Guda_DB ## SavedVariablesPerCharacter: Guda_CharDB