Skip to content

Commit

Permalink
Fixed Collections skin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Sep 13, 2016
1 parent f751f30 commit e01d2eb
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions ShestakUI/Modules/Skins/Blizzard/Collections.lua
Original file line number Diff line number Diff line change
Expand Up @@ -413,18 +413,6 @@ local function LoadSkin()
uicon:SetTexCoord(0.1, 0.9, 0.1, 0.9)
end

hooksecurefunc("ToySpellButton_UpdateButton", function(self)
if PlayerHasToy(self.itemID) then
local quality = select(3, GetItemInfo(self.itemID))
local color = ITEM_QUALITY_COLORS[quality-1]
self.TextColor = {color.r, color.g, color.b}
self:SetBackdropBorderColor(color.r, color.g, color.b)
else
self:SetBackdropBorderColor(unpack(C.media.border_color))
self.TextColor = {0.6, 0.6, 0.6}
end
end)

-- Heirlooms
HeirloomsJournal.iconsFrame:StripTextures()
T.SkinEditBox(HeirloomsJournal.SearchBox, nil, 18)
Expand All @@ -435,7 +423,7 @@ local function LoadSkin()
HeirloomsJournal.progressBar:CreateBackdrop("Overlay")
HeirloomsJournal.progressBar:SetStatusBarTexture(C.media.texture)
HeirloomsJournal.progressBar:SetFrameLevel(HeirloomsJournal.progressBar:GetFrameLevel() + 2)
T.SkinDropDownBox(HeirloomsJournalClassDropDown)
T.SkinDropDownBox(HeirloomsJournalClassDropDown, 170)

hooksecurefunc(HeirloomsJournal, "LayoutCurrentPage", function()
for i = 1, #HeirloomsJournal.heirloomHeaderFrames do
Expand Down

0 comments on commit e01d2eb

Please sign in to comment.