From d6cdbf011065494a963bb4160bcea28d8a883c8a Mon Sep 17 00:00:00 2001 From: urnati Date: Thu, 8 Aug 2019 16:02:00 -0400 Subject: [PATCH] Fix to show tool tips --- TitanClassic/TitanPanelClassicTemplate.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 1.7.9.5