Mercurial > wow > hansgar_and_franzok_assist
diff Libs/DF/split_bar.lua @ 22:dbd417f413a8
- framework update.
| author | Tercio |
|---|---|
| date | Tue, 08 Sep 2015 13:16:49 -0300 |
| parents | dc1c77254f80 |
| children | 5da06cb420d4 |
line wrap: on
line diff
--- a/Libs/DF/split_bar.lua Tue Aug 25 14:09:54 2015 -0300 +++ b/Libs/DF/split_bar.lua Tue Sep 08 13:16:49 2015 -0300 @@ -444,8 +444,6 @@ end end - local oc = frame.MyObject.texture.original_colors --original colors - DF:GradientEffect ( frame.MyObject.texture, "texture", oc[1], oc[2], oc[3], oc[4], oc[1]+0.2, oc[2]+0.2, oc[3]+0.2, oc[4], .2) frame.MyObject.div:SetPoint ("left", frame, "left", frame:GetValue() * (frame:GetWidth()/100) - 18, 0) if (frame.MyObject.have_tooltip) then @@ -453,13 +451,6 @@ GameCooltip2:AddLine (frame.MyObject.have_tooltip) GameCooltip2:ShowCooltip (frame, "tooltip") end - - local parent = frame:GetParent().MyObject - if (parent and parent.type == "panel") then - if (parent.GradientEnabled) then - parent:RunGradient() - end - end end local OnLeave = function (frame) @@ -469,21 +460,10 @@ return end end - - local oc = frame.MyObject.texture.original_colors --original colors - local r, g, b, a = frame.MyObject.texture:GetVertexColor() - DF:GradientEffect ( frame.MyObject.texture, "texture", r, g, b, a, oc[1], oc[2], oc[3], oc[4], .2) - + if (frame.MyObject.have_tooltip) then DF.popup:ShowMe (false) end - - local parent = frame:GetParent().MyObject - if (parent and parent.type == "panel") then - if (parent.GradientEnabled) then - parent:RunGradient (false) - end - end end local OnHide = function (frame)
