diff --git a/ItemRack/ItemRackQueue.lua b/ItemRack/ItemRackQueue.lua index cd66e07..b32cf1e 100644 --- a/ItemRack/ItemRackQueue.lua +++ b/ItemRack/ItemRackQueue.lua @@ -1,5 +1,6 @@ -- ItemRackQueue.lua local _ +local GetItemCooldown = _G.GetItemCooldown or C_Container.GetItemCooldown function ItemRack.PeriodicQueueCheck() if SpellIsTargeting() then diff --git a/ItemRackOptions/ItemRackOptions.lua b/ItemRackOptions/ItemRackOptions.lua index f823ec8..bfd5a22 100644 --- a/ItemRackOptions/ItemRackOptions.lua +++ b/ItemRackOptions/ItemRackOptions.lua @@ -1210,7 +1210,8 @@ function ItemRackOpt.SortListScrollFrameUpdate() end _G["ItemRackOptSortList"..i.."Name"]:SetText(name) _G["ItemRackOptSortList"..i.."Icon"]:SetTexture(texture) - _G["ItemRackOptSortList"..i.."Name"]:SetTextColor(GetItemQualityColor(quality or 1)) + local r,g,b = GetItemQualityColor(quality or 1) + _G["ItemRackOptSortList"..i.."Name"]:SetTextColor(r,g,b,1) item:Show() if idx==ItemRackOpt.SortSelected then ItemRackOpt.LockHighlight(item)