diff --git a/ElvUI_SLE/modules/sledatatexts/currency.lua b/ElvUI_SLE/modules/sledatatexts/currency.lua index 59b3057..5a7c5f0 100644 --- a/ElvUI_SLE/modules/sledatatexts/currency.lua +++ b/ElvUI_SLE/modules/sledatatexts/currency.lua @@ -68,20 +68,6 @@ local function GetOption(name) return E.private['ElvUI_Currency'][name] end -local menu = { - { text = L['ElvUI Improved Currency Options'], isTitle = true , notCheckable = true }, - { text = L['Show Archaeology Fragments'], checked = function() return GetOption('Archaeology') end, func = function() ToggleOption('Archaeology') end }, - { text = L['Show Jewelcrafting Tokens'], checked = function() return GetOption('Jewelcrafting') end, func = function() ToggleOption('Jewelcrafting') end }, - { text = L['Show Player vs Player Currency'], checked = function() return GetOption('PvP') end, func = function() ToggleOption('PvP') end }, - { text = L['Show Dungeon and Raid Currency'], checked = function() return GetOption('Raid') end, func = function() ToggleOption('Raid') end }, - { text = L['Show Cooking Awards'], checked = function() return GetOption('Cooking') end, func = function() ToggleOption('Cooking') end }, - { text = L['Show Miscellaneous Currency'], checked = function() return GetOption('Miscellaneous') end, func = function() ToggleOption('Miscellaneous') end }, - { text = L['Show Zero Currency'], checked = function() return GetOption('Zero') end, func = function() ToggleOption('Zero') end }, - { text = L['Show Icons'], checked = function() return GetOption('Icons') end, func = function() ToggleOption('Icons') end }, - { text = L['Show Faction Totals'], checked = function() return GetOption('Faction') end, func = function() ToggleOption('Faction') end }, - { text = L['Show Unsed Currency'], checked = function() return GetOption('Unused') end, func = function() ToggleOption('Unused') end }, -} - local HiddenCurrency = {} local function UnusedCheck() @@ -100,8 +86,6 @@ local function UnusedCheck() end end -local menuFrame = CreateFrame("Frame", "ElvUI_CurrencyMenuFrame", UIParent, 'UIDropDownMenuTemplate') - local function GetCurrency(CurrencyTable, Text) local Seperator = false UnusedCheck() @@ -212,12 +196,6 @@ local function Click(self, btn) ElvDB.gold = nil; OnEvent(self) DT.tooltip:Hide(); - else - EasyMenu(menu, menuFrame, 'cursor', 0, 0, 'MENU', 2) - --[[ - menuFrame.point = 'CENTER' - menuFrame.relativePoint = 'CENTER' - E:DropDown(menu, menuFrame);]] end else ToggleAllBags()