|
|
|
@ -106,7 +106,7 @@ function private.Create(parent) |
|
|
|
-- row 6 - rarity |
|
|
|
-- row 6 - rarity |
|
|
|
y = y + 60 |
|
|
|
y = y + 60 |
|
|
|
local rarityList = {} |
|
|
|
local rarityList = {} |
|
|
|
for i = 1, 4 do tinsert(rarityList, _G["ITEM_QUALITY"..i.."_DESC"]) end |
|
|
|
for i = 1, 6 do tinsert(rarityList, _G["ITEM_QUALITY"..i.."_DESC"]) end |
|
|
|
local rarityDropdown = TSMAPI.GUI:CreateDropdown(frame, rarityList, "") |
|
|
|
local rarityDropdown = TSMAPI.GUI:CreateDropdown(frame, rarityList, "") |
|
|
|
rarityDropdown:SetLabel(L["Minimum Rarity"]) |
|
|
|
rarityDropdown:SetLabel(L["Minimum Rarity"]) |
|
|
|
rarityDropdown:SetPoint("TOPLEFT", 5, -y) |
|
|
|
rarityDropdown:SetPoint("TOPLEFT", 5, -y) |
|
|
|
@ -236,4 +236,4 @@ end |
|
|
|
|
|
|
|
|
|
|
|
do |
|
|
|
do |
|
|
|
TSM:AddSidebarFeature(L["Custom Filter"], private.Create) |
|
|
|
TSM:AddSidebarFeature(L["Custom Filter"], private.Create) |
|
|
|
end |
|
|
|
end |
|
|
|
|