- Warlock's Grimoire of Synergy buff uptime fix.

This commit is contained in:
Tercio
2016-08-13 00:34:55 -03:00
parent 439bdc3cd8
commit f5ea6a706f
7 changed files with 52 additions and 34 deletions
+12 -4
View File
@@ -157,8 +157,9 @@ function DF:CreateCoolTip()
tinsert (UISpecialFrames, "GameCooltipFrame1")
DF:CreateFlashAnimation (frame1)
DF:CreateBorder (frame1)
if (DF.CreateBorder) then
DF:CreateBorder (frame1, .3, .1, .03)
end
else
frame1 = GameCooltipFrame1
end
@@ -178,7 +179,9 @@ function DF:CreateCoolTip()
DF:CreateFlashAnimation (frame2)
frame2:SetClampedToScreen (true)
DF:CreateBorder (frame2)
if (DF.CreateBorder) then
DF:CreateBorder (frame2, .3, .1, .03)
end
else
frame2 = GameCooltipFrame2
end
@@ -1976,7 +1979,12 @@ function DF:CreateCoolTip()
frame2:ClearAllPoints()
frame2:SetPoint ("bottomleft", frame1, "bottomright", 4, 0)
frame1:SetParent (UIParent)
frame2:SetParent (UIParent)
frame1:SetFrameStrata ("TOOLTIP")
frame2:SetFrameStrata ("TOOLTIP")
CoolTip:HideSelectedTexture (frame1)
CoolTip:HideSelectedTexture (frame2)