Fix to show tool tips
urnati [08-08-19 - 20:02]
diff --git a/TitanClassic/TitanPanelClassicTemplate.lua b/TitanClassic/TitanPanelClassicTemplate.lua
index 9b4a909..1be418e 100644
--- a/TitanClassic/TitanPanelClassicTemplate.lua
+++ b/TitanClassic/TitanPanelClassicTemplate.lua
@@ -176,10 +176,11 @@ local function TitanTooltip_SetPanelTooltip(self, id, frame)
local scale = TitanPanelGetVar("Scale");
local offscreenX, offscreenY;
local i = TitanPanel_GetButtonNumber(id);
+ local bar
if TITAN_PANEL_DISPLAY_PREFIX~=nil and TitanUtils_GetWhichBar(id)~=nil then
- local bar = TITAN_PANEL_DISPLAY_PREFIX..TitanUtils_GetWhichBar(id)
+ bar = TITAN_PANEL_DISPLAY_PREFIX..TitanUtils_GetWhichBar(id)
else
- local bar = ""
+ bar = ""
end
local vert = TitanBarData[bar].vert
-- Get TOP or BOTTOM for the anchor and relative anchor