Skip to content

Commit 0469395

Browse files
committed
Fix Minimap Clicks to open Talents or SpellBook Frame
1 parent 28a5b23 commit 0469395

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ElvUI/Core/Modules/Maps/Minimap.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ local IconParents = {}
4848
local menuFrame = CreateFrame('Frame', 'MinimapRightClickMenu', E.UIParent, 'UIDropDownMenuTemplate')
4949
local menuList = {
5050
{ 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 },
5252
{ text = _G.TIMEMANAGER_TITLE, func = function() ToggleFrame(_G.TimeManagerFrame) end, icon = 134376, cropIcon = 1 }, -- Interface\ICONS\INV_Misc_PocketWatch_01
5353
{ text = _G.CHAT_CHANNELS, func = function() _G.ToggleChannelFrame() end, icon = 2056011, cropIcon = 1 }, -- Interface\ICONS\UI_Chat
5454
{ 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 },
5656
{ text = _G.GUILD, microOffset = 'GuildMicroButton', func = function() if E.Retail then _G.ToggleGuildFrame() else _G.ToggleFriendsFrame(3) end end },
5757
}
5858

0 commit comments

Comments
 (0)