Quantcast

Bug fix. Hovering over unit frames should work now. Let me know if this causes issues with text falling off the tooltip.

Scott Sibley [08-21-10 - 06:58]
Bug fix. Hovering over unit frames should work now. Let me know if this causes issues with text falling off the tooltip.
Filename
Modules/Text.lua
StarTip.lua
diff --git a/Modules/Text.lua b/Modules/Text.lua
index d11346a..f70ca34 100644
--- a/Modules/Text.lua
+++ b/Modules/Text.lua
@@ -362,6 +362,7 @@ end
 ]],
 		leftUpdating = true,
 		enabled = true,
+		cols=100,
 		update = 1000
 	},
 }
@@ -501,8 +502,8 @@ do
 		end
 		table.wipe(fontStringsToDraw)
 		if UnitExists("mouseover") then
-			GameTooltip:Hide()
-			GameTooltip:Show()
+			--GameTooltip:Hide()
+			--GameTooltip:Show()
 		end
 	end
 end
@@ -1130,7 +1131,5 @@ function mod:SetUnit()
     end
     -- End

-    GameTooltip:Show()
-
 	self.timer:Start()
 end
diff --git a/StarTip.lua b/StarTip.lua
index 37a0015..fd22d02 100644
--- a/StarTip.lua
+++ b/StarTip.lua
@@ -1,4 +1,4 @@
-StarTip = LibStub("AceAddon-3.0"):NewAddon("StarTip: @project-version@", "AceConsole-3.0", "AceHook-3.0", "AceEvent-3.0")
+StarTip = LibStub("AceAddon-3.0"):NewAddon("StarTip: @project-version@", "AceConsole-3.0", "AceHook-3.0", "AceEvent-3.0", "AceTimer-3.0")
 StarTip.version = GetAddOnMetadata("StarTip", "X-StarTip-Version") or ""
 local LibDBIcon = LibStub("LibDBIcon-1.0")
 local LSM = _G.LibStub("LibSharedMedia-3.0")