Quantcast

Bug fix? Maybe.

Scott Sibley [07-09-11 - 03:00]
Bug fix? Maybe.
Filename
Modules/Fade/Fade.lua
StarTip.lua
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(...)