Quantcast

Bug fix. Item and Spell tooltips should behave in terms of positioning and hiding/showing. maybe..

Scott Sibley [07-24-11 - 10:20]
Bug fix. Item and Spell tooltips should behave in terms of positioning and hiding/showing. maybe..
Filename
Modules/Position/Position.lua
diff --git a/Modules/Position/Position.lua b/Modules/Position/Position.lua
index 1b36903..86704e8 100644
--- a/Modules/Position/Position.lua
+++ b/Modules/Position/Position.lua
@@ -457,8 +457,8 @@ local function delayAnchor()
 			isUnitTooltip = true
 			fakeUpdateFrame:SetScript("OnUPdate", positionMainTooltip)
 			positionMainTooltip()
-			updateFrame:SetScript("OnUpdate", positionTooltip)
 		end
+		updateFrame:SetScript("OnUpdate", positionTooltip)
 		positionTooltip()

 	else
@@ -466,7 +466,6 @@ local function delayAnchor()
 		if fakeUpdateFrame:GetScript("OnUpdate") then fakeUpdateFrame:SetScript("OnUpdate", nil) end
 		StarTip.tooltipMain:ClearAllPoints()
 		StarTip.tooltipMain:SetPoint(StarTip.anchors[index], UIParent, StarTip.anchors[index], xoffset, yoffset)
-		hideGameTooltip()
 	end
 end