Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Aug 9, 2020
1 parent 5e1bc63 commit ed3eb60
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions ShestakUI/Core/Functions.lua
Expand Up @@ -640,19 +640,8 @@ function T.SkinExpandOrCollapse(f)
self.settingTexture = nil
end)

f:HookScript("OnEnter", function(self)
self.bg:SetBackdropBorderColor(T.color.r, T.color.g, T.color.b)
if self.bg.overlay then
self.bg.overlay:SetVertexColor(T.color.r * 0.3, T.color.g * 0.3, T.color.b * 0.3, 1)
end
end)

f:HookScript("OnLeave", function(self)
self.bg:SetBackdropBorderColor(unpack(C.media.border_color))
if self.bg.overlay then
self.bg.overlay:SetVertexColor(0.1, 0.1, 0.1, 1)
end
end)
f:HookScript("OnEnter", T.SetModifiedBackdrop)
f:HookScript("OnLeave", T.SetOriginalBackdrop)
end

function T.SkinHelpBox(frame)
Expand Down

0 comments on commit ed3eb60

Please sign in to comment.