From 9c560c62c448bd48177fa2a6d4b9377bee6d16b3 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 25 Aug 2016 09:12:44 +0300 Subject: [PATCH] Fix positioning for secondary portals --- ElvUI_SLE/modules/minimap/locationbar.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/minimap/locationbar.lua b/ElvUI_SLE/modules/minimap/locationbar.lua index 6fe1903..113ba34 100644 --- a/ElvUI_SLE/modules/minimap/locationbar.lua +++ b/ElvUI_SLE/modules/minimap/locationbar.lua @@ -411,7 +411,7 @@ function LP:PopulateDropdown() T.tinsert(LP.SecondaryMenu, {text = CHALLENGE_MODE..":", title = true, nohighlight = true}) LP:SpellList(LP.Spells.challenge, LP.SecondaryMenu) T.tinsert(LP.SecondaryMenu, {text = CLOSE, title = true, ending = true, func = function() T.twipe(LP.MainMenu); T.twipe(LP.SecondaryMenu); ToggleFrame(LP.Menu2) end}) - SLE:DropDown(LP.SecondaryMenu, LP.Menu2, anchor, point, 0, 0, _G["SLE_LocationPanel"], MENU_WIDTH, LP.db.portals.justify) + SLE:DropDown(LP.SecondaryMenu, LP.Menu2, anchor, point, 0, 1, _G["SLE_LocationPanel"], MENU_WIDTH, LP.db.portals.justify) end}) end if E.myclass == "MAGE" then @@ -422,7 +422,7 @@ function LP:PopulateDropdown() T.tinsert(LP.SecondaryMenu, {text = L["Teleports"]..":", title = true, nohighlight = true}) LP:SpellList(LP.Spells["teleports"][faction], LP.SecondaryMenu) T.tinsert(LP.SecondaryMenu, {text = CLOSE, title = true, ending = true, func = function() T.twipe(LP.MainMenu); T.twipe(LP.SecondaryMenu); ToggleFrame(LP.Menu2) end}) - SLE:DropDown(LP.SecondaryMenu, LP.Menu2, anchor, point, 0, 0, _G["SLE_LocationPanel"], MENU_WIDTH, LP.db.portals.justify) + SLE:DropDown(LP.SecondaryMenu, LP.Menu2, anchor, point, 0, 1, _G["SLE_LocationPanel"], MENU_WIDTH, LP.db.portals.justify) end}) T.tinsert(LP.MainMenu, {text = L["Portals"].." >>",icon = SLE:GetIconFromID("spell", 53142), func = function() T.twipe(LP.SecondaryMenu) @@ -431,7 +431,7 @@ function LP:PopulateDropdown() T.tinsert(LP.SecondaryMenu, {text = L["Portals"]..":", title = true, nohighlight = true}) LP:SpellList(LP.Spells["portals"][faction], LP.SecondaryMenu) T.tinsert(LP.SecondaryMenu, {text = CLOSE, title = true, ending = true, func = function() T.twipe(LP.MainMenu); T.twipe(LP.SecondaryMenu); ToggleFrame(LP.Menu2) end}) - SLE:DropDown(LP.SecondaryMenu, LP.Menu2, anchor, point, 0, 0, _G["SLE_LocationPanel"], MENU_WIDTH, LP.db.portals.justify) + SLE:DropDown(LP.SecondaryMenu, LP.Menu2, anchor, point, 0, 1, _G["SLE_LocationPanel"], MENU_WIDTH, LP.db.portals.justify) end}) end end -- 1.7.9.5