Skip to content

Commit

Permalink
Added color name quality for pet team card.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Sep 24, 2019
1 parent 7a3707b commit cd6c188
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ShestakUI/Modules/Skins/Blizzard/Collections.lua
Expand Up @@ -295,6 +295,10 @@ local function LoadSkin()
button.level:ClearAllPoints()
button.level:SetPoint("BOTTOMRIGHT", -2, 3)

hooksecurefunc(button.qualityBorder, "SetVertexColor", function(_, r, g, b)
button.name:SetTextColor(r, g, b)
end)

for j = 1, 3 do
local spell = button["spell"..j]

Expand Down Expand Up @@ -396,6 +400,10 @@ local function LoadSkin()
PetJournalPetCardXPBar:SetPoint("BOTTOM", PetJournalPetCard.backdrop, "BOTTOM", 0, 6)
PetJournalPetCardXPBar:SetFrameLevel(PetJournalPetCardXPBar:GetFrameLevel() + 2)

hooksecurefunc(PetJournalPetCardPetInfo.qualityBorder, "SetVertexColor", function(_, r, g, b)
PetJournalPetCardPetInfo.name:SetTextColor(r, g, b)
end)

-- ToyBox
ToyBox.iconsFrame:StripTextures()
T.SkinEditBox(ToyBox.searchBox, nil, 18)
Expand Down

0 comments on commit cd6c188

Please sign in to comment.