Skip to content

Commit

Permalink
Patch 7.1 fix for friends button hiding.
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Oct 22, 2016
1 parent 09c9bd8 commit 8f8f050
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions buttons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ BCM.modules[#BCM.modules+1] = function()
local hideFunc = function(frame) frame:Hide() end
ChatFrameMenuButton:HookScript("OnShow", hideFunc) --Hide the chat shortcut button for emotes/languages/etc
ChatFrameMenuButton:Hide() --Hide the chat shortcut button for emotes/languages/etc
FriendsMicroButton:HookScript("OnShow", hideFunc) --Hide the "Friends Online" count button
FriendsMicroButton:Hide() --Hide the "Friends Online" count button
if FriendsMicroButton then -- XXX v7
FriendsMicroButton:HookScript("OnShow", hideFunc) --Hide the "Friends Online" count button
FriendsMicroButton:Hide() --Hide the "Friends Online" count button
end
if QuickJoinToastButton then -- XXX v7.1
QuickJoinToastButton:HookScript("OnShow", hideFunc) --Hide the "Friends Online" count button
QuickJoinToastButton:Hide() --Hide the "Friends Online" count button
end

BCM.chatFuncsPerFrame[#BCM.chatFuncsPerFrame+1] = function(n)
local btnFrame = _G[n.."ButtonFrame"]
Expand Down

0 comments on commit 8f8f050

Please sign in to comment.