tbc: fix micro menu

This commit is contained in:
Artur Morozov
2019-06-13 18:40:50 +02:00
committed by shagu
parent 88cd6dcf86
commit 08533849c5
3 changed files with 14 additions and 8 deletions
-6
View File
@@ -716,12 +716,6 @@ pfUI:RegisterModule("panel", "vanilla:tbc", function()
pfUI.panel.microbutton:SetWidth(145)
pfUI.panel.microbutton:SetFrameStrata("MEDIUM")
local MICRO_BUTTONS = {
'CharacterMicroButton', 'SpellbookMicroButton', 'TalentMicroButton',
'QuestLogMicroButton', 'SocialsMicroButton', 'WorldMapMicroButton',
'MainMenuMicroButton', 'HelpMicroButton',
}
for i=1,table.getn(MICRO_BUTTONS) do
local anchor = _G[MICRO_BUTTONS[i-1]] or pfUI.panel.microbutton
local button = _G[MICRO_BUTTONS[i]]