Quantcast

- Fix for Midbight 'secret value' error

urnati [11-13-25 - 02:53]
- Fix for Midbight 'secret value' error
Filename
Titan/TitanTemplate.lua
diff --git a/Titan/TitanTemplate.lua b/Titan/TitanTemplate.lua
index 078dcb0..0146d26 100644
--- a/Titan/TitanTemplate.lua
+++ b/Titan/TitanTemplate.lua
@@ -191,7 +191,9 @@ local function TitanTooltip_SetPanelTooltip(self, id, frame)

 	if button then
 		-- Adjust the Y offset as needed
-		local rel_y = self:GetTop() - frame:GetHeight()
+		local top = self:GetTop()
+		local hgt = frame:GetHeight()
+		local rel_y = top - hgt
 		local pt = ""
 		local rel_pt = ""
 		if rel_y > 0 then