Skip to content

Commit

Permalink
Fix two errors in last code change
Browse files Browse the repository at this point in the history
  • Loading branch information
doadin committed Jun 30, 2024
1 parent 951de0d commit cd59b56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Baggins-Search.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function BagginsSearch:Search(search) --luacheck: ignore 212
if button:IsVisible() then
if strlen(search) == 0 or search == "" then
button:UnlockHighlight()
button:SetAlpha(tonumber(Baggins.db.profile.unmatchedAlpha) or 0.2)
button:SetAlpha(1)
else
local link = GetContainerItemLink(button:GetParent():GetID(), button:GetID())
if link then
Expand Down
2 changes: 1 addition & 1 deletion src/filters/ContainerType.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ local ContainerTypes = {}
-- Initialize filter
local function BuildContainerTypes()
-- Build array of containers
if AddOn:IsRetailWow() then
if not AddOn:IsRetailWow() then
for _, subClassID in pairs({GetAuctionItemSubClasses(LE_ITEM_CLASS_CONTAINER)}) do
--print(subClassID, (GetItemSubClassInfo(LE_ITEM_CLASS_CONTAINER, subClassID)))
ContainerTypes[subClassID] = GetItemSubClassInfo(LE_ITEM_CLASS_CONTAINER, subClassID)
Expand Down

0 comments on commit cd59b56

Please sign in to comment.