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
@@ -361,8 +361,8 @@ function S:HandleCloseButton(f, point, text)
f.backdrop:SetPoint("BOTTOMRIGHT", -8, 8)
f:SetHitRectInsets(6, 6, 7, 7)
HookScript(f, "OnEnter", function() S:SetModifiedBackdrop(this) end)
HookScript(f, "OnLeave", function() S:SetOriginalBackdrop(this) end)
HookScript(f, "OnEnter", S.SetModifiedBackdrop)
HookScript(f, "OnLeave", S.SetOriginalBackdrop)
end
if not text then text = "x" end
if not f.text then