This commit is contained in:
Bunny67
2018-07-15 20:43:56 +03:00
parent 5a5bb03e88
commit 448ea4ea0c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -75,8 +75,8 @@ function LoadSkin()
E:Point(tab.backdrop, "TOPLEFT", 3, -7) E:Point(tab.backdrop, "TOPLEFT", 3, -7)
E:Point(tab.backdrop, "BOTTOMRIGHT", -2, -1) E:Point(tab.backdrop, "BOTTOMRIGHT", -2, -1)
tab:SetScript("OnEnter", function() S:SetModifiedBackdrop(this) end) tab:SetScript("OnEnter", S.SetModifiedBackdrop)
tab:SetScript("OnLeave", function() S:SetOriginalBackdrop(this) end) tab:SetScript("OnLeave", S.SetOriginalBackdrop)
end end
S:HandleButton(FriendsFrameIgnorePlayerButton) S:HandleButton(FriendsFrameIgnorePlayerButton)
+2 -2
View File
@@ -361,8 +361,8 @@ function S:HandleCloseButton(f, point, text)
f.backdrop:SetPoint("BOTTOMRIGHT", -8, 8) f.backdrop:SetPoint("BOTTOMRIGHT", -8, 8)
f:SetHitRectInsets(6, 6, 7, 7) f:SetHitRectInsets(6, 6, 7, 7)
HookScript(f, "OnEnter", function() S:SetModifiedBackdrop(this) end) HookScript(f, "OnEnter", S.SetModifiedBackdrop)
HookScript(f, "OnLeave", function() S:SetOriginalBackdrop(this) end) HookScript(f, "OnLeave", S.SetOriginalBackdrop)
end end
if not text then text = "x" end if not text then text = "x" end
if not f.text then if not f.text then