From 3a836b878708db8a2d0bcda100e50f2ccf104401 Mon Sep 17 00:00:00 2001 From: Scott Sibley Date: Sat, 9 Jul 2011 03:00:08 +0000 Subject: [PATCH] Bug fix? Maybe. --- Modules/Fade/Fade.lua | 2 +- StarTip.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/Fade/Fade.lua b/Modules/Fade/Fade.lua index 94c4cd0..c8f6e9e 100644 --- a/Modules/Fade/Fade.lua +++ b/Modules/Fade/Fade.lua @@ -128,7 +128,7 @@ local checkTooltipAlpha = function() end function mod:OnShow() - if UnitExists(StarTip.unit) then + if UnitExists(StarTip.unit) or self.isUnit then updateExistenceFrame:SetScript("OnUpdate", checkExistence) else updateAlphaFrame:SetScript("OnUpdate", checkTooltipAlpha) diff --git a/StarTip.lua b/StarTip.lua index 2ec6fa7..b435e55 100644 --- a/StarTip.lua +++ b/StarTip.lua @@ -714,6 +714,7 @@ local function hideTooltip() hideTimer:Start() end +--[[ local throttleTimer local lastTime = GetTime() local function endThrottle() @@ -721,6 +722,7 @@ local function endThrottle() StarTip.OnTooltipSetUnit() end end +]] function StarTip.OnTooltipSetUnit(...) -- 1.7.9.5