@@ -48,11 +48,11 @@ local IconParents = {}
48
48
local menuFrame = CreateFrame (' Frame' , ' MinimapRightClickMenu' , E .UIParent , ' UIDropDownMenuTemplate' )
49
49
local menuList = {
50
50
{ text = _G .CHARACTER_BUTTON , microOffset = ' CharacterMicroButton' , func = function () _G .ToggleCharacter (' PaperDollFrame' ) end },
51
- { text = _G .SPELLBOOK_ABILITIES_BUTTON , microOffset = ' SpellbookMicroButton' , func = function () ToggleFrame ( _G . SpellBookFrame ) end },
51
+ { text = _G .SPELLBOOK_ABILITIES_BUTTON , microOffset = ' SpellbookMicroButton' , func = function () PlayerSpellsUtil . ToggleSpellBookFrame ( ) end },
52
52
{ text = _G .TIMEMANAGER_TITLE , func = function () ToggleFrame (_G .TimeManagerFrame ) end , icon = 134376 , cropIcon = 1 }, -- Interface\ICONS\INV_Misc_PocketWatch_01
53
53
{ text = _G .CHAT_CHANNELS , func = function () _G .ToggleChannelFrame () end , icon = 2056011 , cropIcon = 1 }, -- Interface\ICONS\UI_Chat
54
54
{ text = _G .SOCIAL_BUTTON , func = function () _G .ToggleFriendsFrame () end , icon = 796351 , cropIcon = 10 }, -- Interface\FriendsFrame\Battlenet-BattlenetIcon
55
- { text = _G .TALENTS_BUTTON , microOffset = ' TalentMicroButton' , func = function () _G . ToggleTalentFrame () end },
55
+ { text = _G .TALENTS_BUTTON , microOffset = ' TalentMicroButton' , func = function () PlayerSpellsUtil . ToggleClassTalentFrame () end },
56
56
{ text = _G .GUILD , microOffset = ' GuildMicroButton' , func = function () if E .Retail then _G .ToggleGuildFrame () else _G .ToggleFriendsFrame (3 ) end end },
57
57
}
58
58
0 commit comments