changeset 16:87131aeedc3f

more tooltip refactoring/fixes
author Chris Mellon <arkanes@gmai.com>
date Wed, 13 Oct 2010 12:29:17 -0500
parents 0c5e210221c9
children 233745d4774b
files KBF.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/KBF.lua	Wed Oct 13 11:46:08 2010 -0500
+++ b/KBF.lua	Wed Oct 13 12:29:17 2010 -0500
@@ -82,9 +82,9 @@
             -- position it under all the buffs, with a half-bar spacing
             frame:SetPoint("TOP", self.anchor, "BOTTOM", 0, (buffCount * -16) - 8)
             frame:Show()
-            frame:SetID(idx)
             frame.filter = "HARMFUL"
             frame.unit = unit
+            frame.index = idx
             frame:SetScript("OnEnter", function() kbf:OnEnter(frame) end)
             frame:SetScript("OnLeave", function() GameTooltip:Hide() end)
             buffCount = buffCount + 1