update chat

This commit is contained in:
Bunny67
2018-07-07 18:27:45 +03:00
parent b46771ae2f
commit 7b9ba50490
3 changed files with 59 additions and 139 deletions
+3 -1
View File
@@ -270,7 +270,9 @@ function AFK:Initialize()
self.AFKMode.chat:SetScript("OnDragStart", self.AFKMode.chat.StartMoving)
self.AFKMode.chat:SetScript("OnDragStop", self.AFKMode.chat.StopMovingOrSizing)
self.AFKMode.chat:SetScript("OnMouseWheel", Chat_OnMouseWheel)
-- self.AFKMode.chat:SetScript("OnEvent", CH.ChatFrame_OnEvent)
self.AFKMode.chat:SetScript("OnEvent", function()
CH:ChatFrame_OnEvent(this, event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
end)
self.AFKMode.bottom = CreateFrame("Frame", nil, self.AFKMode)
self.AFKMode.bottom:SetFrameLevel(0)