Browse Source

Itemfilter Vanity Item Support

pull/14/head
RSS90 2 years ago committed by GitHub
parent
commit
476941bf4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      TradeSkillMaster_Shopping/sidebar/CustomFilter.lua

4
TradeSkillMaster_Shopping/sidebar/CustomFilter.lua

@ -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

Loading…
Cancel
Save