mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Bugfixes: Removed retail API calls, ran linting script and static analysis.
This commit is contained in:
@@ -331,7 +331,7 @@ local methods = {
|
||||
toggle:SetHeight(14)
|
||||
toggle:ClearAllPoints()
|
||||
toggle:SetPoint("TOPRIGHT", button, "TOPRIGHT", -6, -1)
|
||||
toggle:SetHighlightTexture("Interface\Buttons\UI-PlusButton-Hilight", "ADD")
|
||||
toggle:SetHighlightTexture("Interface\\Buttons\\UI-PlusButton-Hilight", "ADD")
|
||||
toggle:SetScript("OnClick", Button_OnClick)
|
||||
button.toggle = toggle
|
||||
toggle.obj = button
|
||||
|
||||
@@ -1046,8 +1046,10 @@ E.Options.args.nameplate = {
|
||||
set = function(info, value) selectedFilter = value; UpdateFilterGroup() end,
|
||||
values = function()
|
||||
filters = {}
|
||||
for filter in pairs(E.global["nameplates"]["filter"]) do
|
||||
filters[filter] = filter
|
||||
if E.global["nameplates"] and E.global["nameplates"]["filter"] then
|
||||
for filter in pairs(E.global["nameplates"]["filter"]) do
|
||||
filters[filter] = filter
|
||||
end
|
||||
end
|
||||
return filters
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user